Permalink
...
Comparing changes
Open a pull request
- 10 commits
- 75 files changed
- 2 commit comments
- 2 contributors
Unified
Split
Showing
with
247 additions
and 152 deletions.
- +1 −1 bower.json
- +1 −1 documentation/docs/coffee-script.html
- +23 −18 documentation/docs/lexer.html
- +3 −4 documentation/docs/nodes.html
- +27 −2 documentation/index.html.js
- +1 −1 documentation/js/aliases.js
- +1 −1 documentation/js/array_comprehensions.js
- +1 −1 documentation/js/block_comment.js
- +1 −1 documentation/js/cake_tasks.js
- +1 −1 documentation/js/chaining.js
- +1 −1 documentation/js/classes.js
- +1 −1 documentation/js/comparisons.js
- +1 −1 documentation/js/conditionals.js
- +1 −1 documentation/js/constructor_destructuring.js
- +1 −1 documentation/js/default_args.js
- +1 −1 documentation/js/do.js
- +1 −1 documentation/js/embedded.js
- +1 −1 documentation/js/existence.js
- +1 −1 documentation/js/expansion.js
- +1 −1 documentation/js/expressions.js
- +1 −1 documentation/js/expressions_assignment.js
- +1 −1 documentation/js/expressions_comprehension.js
- +1 −1 documentation/js/expressions_try.js
- +1 −1 documentation/js/fat_arrow.js
- +1 −1 documentation/js/functions.js
- +1 −1 documentation/js/generators.js
- +1 −1 documentation/js/heredocs.js
- +1 −1 documentation/js/heregexes.js
- +1 −1 documentation/js/interpolation.js
- +1 −1 documentation/js/modules.js
- +1 −1 documentation/js/modulo.js
- +1 −1 documentation/js/multiple_return_values.js
- +1 −1 documentation/js/object_comprehensions.js
- +1 −1 documentation/js/object_extraction.js
- +1 −1 documentation/js/objects_and_arrays.js
- +1 −1 documentation/js/objects_reserved.js
- +1 −1 documentation/js/overview.js
- +1 −1 documentation/js/parallel_assignment.js
- +1 −1 documentation/js/patterns_and_splats.js
- +1 −1 documentation/js/prototypes.js
- +1 −1 documentation/js/range_comprehensions.js
- +1 −1 documentation/js/scope.js
- +1 −1 documentation/js/slices.js
- +1 −1 documentation/js/soaks.js
- +1 −1 documentation/js/splats.js
- +1 −1 documentation/js/splices.js
- +1 −1 documentation/js/strings.js
- +1 −1 documentation/js/switch.js
- +1 −1 documentation/js/switch_with_no_expression.js
- +1 −1 documentation/js/try.js
- +1 −1 documentation/js/while.js
- +6 −6 extras/coffee-script.js
- +31 −2 index.html
- +1 −1 lib/coffee-script/browser.js
- +1 −1 lib/coffee-script/cake.js
- +2 −2 lib/coffee-script/coffee-script.js
- +1 −1 lib/coffee-script/command.js
- +1 −1 lib/coffee-script/grammar.js
- +1 −1 lib/coffee-script/helpers.js
- +1 −1 lib/coffee-script/index.js
- +40 −29 lib/coffee-script/lexer.js
- +6 −5 lib/coffee-script/nodes.js
- +1 −1 lib/coffee-script/optparse.js
- +1 −1 lib/coffee-script/register.js
- +1 −1 lib/coffee-script/repl.js
- +1 −1 lib/coffee-script/rewriter.js
- +1 −1 lib/coffee-script/scope.js
- +1 −1 lib/coffee-script/sourcemap.js
- +1 −1 package.json
- +1 −1 src/coffee-script.coffee
- +23 −18 src/lexer.coffee
- +3 −4 src/nodes.coffee
- +5 −0 test/classes.coffee
- +6 −0 test/objects.coffee
- +10 −0 test/strings.coffee
View
2
bower.json
| @@ -1,6 +1,6 @@ | ||
| { | ||
| "name": "coffee-script", | ||
| - "version": "1.11.0", | ||
| + "version": "1.11.1", | ||
| "main": [ | ||
| "lib/coffee-script/coffee-script.js" | ||
| ], | ||
View
2
documentation/docs/coffee-script.html
| @@ -144,7 +144,7 @@ | ||
| </div> | ||
| - <div class="content"><div class='highlight'><pre>exports.VERSION = <span class="hljs-string">'1.11.0'</span> | ||
| + <div class="content"><div class='highlight'><pre>exports.VERSION = <span class="hljs-string">'1.11.1'</span> | ||
| exports.FILE_EXTENSIONS = [<span class="hljs-string">'.coffee'</span>, <span class="hljs-string">'.litcoffee'</span>, <span class="hljs-string">'.coffee.md'</span>]</pre></div></div> | ||
View
41
documentation/docs/lexer.html
| @@ -459,25 +459,30 @@ <h2 id="tokenizers">Tokenizers</h2> | ||
| <div class="content"><div class='highlight'><pre> numberToken: <span class="hljs-function">-></span> | ||
| <span class="hljs-keyword">return</span> <span class="hljs-number">0</span> <span class="hljs-keyword">unless</span> match = NUMBER.exec @chunk | ||
| + | ||
| number = match[<span class="hljs-number">0</span>] | ||
| lexedLength = number.length | ||
| - <span class="hljs-keyword">if</span> <span class="hljs-regexp">/^0[BOX]/</span>.test number | ||
| - @error <span class="hljs-string">"radix prefix in '<span class="hljs-subst">#{number}</span>' must be lowercase"</span>, offset: <span class="hljs-number">1</span> | ||
| - <span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span> <span class="hljs-regexp">/E/</span>.test(number) <span class="hljs-keyword">and</span> <span class="hljs-keyword">not</span> <span class="hljs-regexp">/^0x/</span>.test number | ||
| - @error <span class="hljs-string">"exponential notation in '<span class="hljs-subst">#{number}</span>' must be indicated with a lowercase 'e'"</span>, | ||
| - offset: number.indexOf(<span class="hljs-string">'E'</span>) | ||
| - <span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span> <span class="hljs-regexp">/^0\d*[89]/</span>.test number | ||
| - @error <span class="hljs-string">"decimal literal '<span class="hljs-subst">#{number}</span>' must not be prefixed with '0'"</span>, length: lexedLength | ||
| - <span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span> <span class="hljs-regexp">/^0\d+/</span>.test number | ||
| - @error <span class="hljs-string">"octal literal '<span class="hljs-subst">#{number}</span>' must be prefixed with '0o'"</span>, length: lexedLength | ||
| - <span class="hljs-keyword">if</span> octalLiteral = <span class="hljs-regexp">/^0o([0-7]+)/</span>.exec number | ||
| - numberValue = parseInt(octalLiteral[<span class="hljs-number">1</span>], <span class="hljs-number">8</span>) | ||
| - number = <span class="hljs-string">"0x<span class="hljs-subst">#{numberValue.toString <span class="hljs-number">16</span>}</span>"</span> | ||
| - <span class="hljs-keyword">else</span> <span class="hljs-keyword">if</span> binaryLiteral = <span class="hljs-regexp">/^0b([01]+)/</span>.exec number | ||
| - numberValue = parseInt(binaryLiteral[<span class="hljs-number">1</span>], <span class="hljs-number">2</span>) | ||
| + | ||
| + <span class="hljs-keyword">switch</span> | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-regexp">/^0[BOX]/</span>.test number | ||
| + @error <span class="hljs-string">"radix prefix in '<span class="hljs-subst">#{number}</span>' must be lowercase"</span>, offset: <span class="hljs-number">1</span> | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-regexp">/^(?!0x).*E/</span>.test number | ||
| + @error <span class="hljs-string">"exponential notation in '<span class="hljs-subst">#{number}</span>' must be indicated with a lowercase 'e'"</span>, | ||
| + offset: number.indexOf(<span class="hljs-string">'E'</span>) | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-regexp">/^0\d*[89]/</span>.test number | ||
| + @error <span class="hljs-string">"decimal literal '<span class="hljs-subst">#{number}</span>' must not be prefixed with '0'"</span>, length: lexedLength | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-regexp">/^0\d+/</span>.test number | ||
| + @error <span class="hljs-string">"octal literal '<span class="hljs-subst">#{number}</span>' must be prefixed with '0o'"</span>, length: lexedLength | ||
| + | ||
| + base = <span class="hljs-keyword">switch</span> number.charAt <span class="hljs-number">1</span> | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-string">'b'</span> <span class="hljs-keyword">then</span> <span class="hljs-number">2</span> | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-string">'o'</span> <span class="hljs-keyword">then</span> <span class="hljs-number">8</span> | ||
| + <span class="hljs-keyword">when</span> <span class="hljs-string">'x'</span> <span class="hljs-keyword">then</span> <span class="hljs-number">16</span> | ||
| + <span class="hljs-keyword">else</span> <span class="hljs-literal">null</span> | ||
| + numberValue = <span class="hljs-keyword">if</span> base? <span class="hljs-keyword">then</span> parseInt(number[<span class="hljs-number">2.</span>.], base) <span class="hljs-keyword">else</span> parseFloat(number) | ||
| + <span class="hljs-keyword">if</span> number.charAt(<span class="hljs-number">1</span>) <span class="hljs-keyword">in</span> [<span class="hljs-string">'b'</span>, <span class="hljs-string">'o'</span>] | ||
| number = <span class="hljs-string">"0x<span class="hljs-subst">#{numberValue.toString <span class="hljs-number">16</span>}</span>"</span> | ||
| - <span class="hljs-keyword">else</span> | ||
| - numberValue = parseFloat(number) | ||
| + | ||
| tag = <span class="hljs-keyword">if</span> numberValue <span class="hljs-keyword">is</span> Infinity <span class="hljs-keyword">then</span> <span class="hljs-string">'INFINITY'</span> <span class="hljs-keyword">else</span> <span class="hljs-string">'NUMBER'</span> | ||
| @token tag, number, <span class="hljs-number">0</span>, lexedLength | ||
| lexedLength</pre></div></div> | ||
| @@ -548,12 +553,12 @@ <h2 id="tokenizers">Tokenizers</h2> | ||
| <span class="hljs-keyword">while</span> match = HEREDOC_INDENT.exec doc | ||
| attempt = match[<span class="hljs-number">1</span>] | ||
| indent = attempt <span class="hljs-keyword">if</span> indent <span class="hljs-keyword">is</span> <span class="hljs-literal">null</span> <span class="hljs-keyword">or</span> <span class="hljs-number">0</span> < attempt.length < indent.length | ||
| - indentRegex = <span class="hljs-regexp">/// ^<span class="hljs-subst">#{indent}</span> ///</span>gm <span class="hljs-keyword">if</span> indent | ||
| + indentRegex = <span class="hljs-regexp">/// \n<span class="hljs-subst">#{indent}</span> ///</span>g <span class="hljs-keyword">if</span> indent | ||
| @mergeInterpolationTokens tokens, {delimiter}, <span class="hljs-function"><span class="hljs-params">(value, i)</span> =></span> | ||
| value = @formatString value | ||
| + value = value.replace indentRegex, <span class="hljs-string">'\n'</span> <span class="hljs-keyword">if</span> indentRegex | ||
| value = value.replace LEADING_BLANK_LINE, <span class="hljs-string">''</span> <span class="hljs-keyword">if</span> i <span class="hljs-keyword">is</span> <span class="hljs-number">0</span> | ||
| value = value.replace TRAILING_BLANK_LINE, <span class="hljs-string">''</span> <span class="hljs-keyword">if</span> i <span class="hljs-keyword">is</span> $ | ||
| - value = value.replace indentRegex, <span class="hljs-string">''</span> <span class="hljs-keyword">if</span> indentRegex | ||
| value | ||
| <span class="hljs-keyword">else</span> | ||
| @mergeInterpolationTokens tokens, {delimiter}, <span class="hljs-function"><span class="hljs-params">(value, i)</span> =></span> | ||
View
7
documentation/docs/nodes.html
| @@ -1757,7 +1757,6 @@ <h3 id="access">Access</h3> | ||
| <div class="content"><div class='highlight'><pre>exports.Access = <span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Access</span> <span class="hljs-keyword">extends</span> <span class="hljs-title">Base</span></span> | ||
| constructor: <span class="hljs-function"><span class="hljs-params">(@name, tag)</span> -></span> | ||
| - @name.asKey = <span class="hljs-literal">yes</span> | ||
| @soak = tag <span class="hljs-keyword">is</span> <span class="hljs-string">'soak'</span> | ||
| children: [<span class="hljs-string">'name'</span>] | ||
| @@ -2162,13 +2161,13 @@ <h3 id="obj">Obj</h3> | ||
| <span class="hljs-keyword">if</span> i < dynamicIndex | ||
| <span class="hljs-keyword">if</span> prop <span class="hljs-keyword">not</span> <span class="hljs-keyword">instanceof</span> Assign | ||
| prop = <span class="hljs-keyword">new</span> Assign prop, prop, <span class="hljs-string">'object'</span> | ||
| - (prop.variable.base <span class="hljs-keyword">or</span> prop.variable).asKey = <span class="hljs-literal">yes</span> | ||
| <span class="hljs-keyword">else</span> | ||
| <span class="hljs-keyword">if</span> prop <span class="hljs-keyword">instanceof</span> Assign | ||
| key = prop.variable | ||
| value = prop.value | ||
| <span class="hljs-keyword">else</span> | ||
| [key, value] = prop.base.cache o | ||
| + key = <span class="hljs-keyword">new</span> PropertyName key.value <span class="hljs-keyword">if</span> key <span class="hljs-keyword">instanceof</span> IdentifierLiteral | ||
| prop = <span class="hljs-keyword">new</span> Assign (<span class="hljs-keyword">new</span> Value (<span class="hljs-keyword">new</span> IdentifierLiteral oref), [<span class="hljs-keyword">new</span> Access key]), value | ||
| <span class="hljs-keyword">if</span> indent <span class="hljs-keyword">then</span> answer.push @makeCode indent | ||
| answer.push prop.compileToFragments(o, LEVEL_TOP)... | ||
| @@ -4974,10 +4973,10 @@ <h2 id="helper-functions">Helper Functions</h2> | ||
| code.replace <span class="hljs-regexp">/\s+$/</span>, <span class="hljs-string">''</span> | ||
| <span class="hljs-function"> | ||
| <span class="hljs-title">isLiteralArguments</span> = <span class="hljs-params">(node)</span> -></span> | ||
| - node <span class="hljs-keyword">instanceof</span> Literal <span class="hljs-keyword">and</span> node.value <span class="hljs-keyword">is</span> <span class="hljs-string">'arguments'</span> <span class="hljs-keyword">and</span> <span class="hljs-keyword">not</span> node.asKey | ||
| + node <span class="hljs-keyword">instanceof</span> IdentifierLiteral <span class="hljs-keyword">and</span> node.value <span class="hljs-keyword">is</span> <span class="hljs-string">'arguments'</span> | ||
| <span class="hljs-function"> | ||
| <span class="hljs-title">isLiteralThis</span> = <span class="hljs-params">(node)</span> -></span> | ||
| - (node <span class="hljs-keyword">instanceof</span> ThisLiteral <span class="hljs-keyword">and</span> <span class="hljs-keyword">not</span> node.asKey) <span class="hljs-keyword">or</span> | ||
| + node <span class="hljs-keyword">instanceof</span> ThisLiteral <span class="hljs-keyword">or</span> | ||
| (node <span class="hljs-keyword">instanceof</span> Code <span class="hljs-keyword">and</span> node.bound) <span class="hljs-keyword">or</span> | ||
| node <span class="hljs-keyword">instanceof</span> SuperCall | ||
| <span class="hljs-function"> | ||
View
29
documentation/index.html.js
| @@ -112,7 +112,7 @@ | ||
| <p> | ||
| <b>Latest Version:</b> | ||
| - <a href="http://github.com/jashkenas/coffeescript/tarball/1.11.0">1.11.0</a> | ||
| + <a href="http://github.com/jashkenas/coffeescript/tarball/1.11.1">1.11.1</a> | ||
| </p> | ||
| <pre>npm install -g coffee-script</pre> | ||
| @@ -1271,6 +1271,26 @@ Block | ||
| </h2> | ||
| <p> | ||
| + <%= releaseHeader('2016-10-02', '1.11.1', '1.11.0') %> | ||
| + <ul> | ||
| + <li> | ||
| + Bugfix for shorthand object syntax after interpolated keys. | ||
| + </li> | ||
| + <li> | ||
| + Bugfix for indentation-stripping in <code>"""</code> strings. | ||
| + </li> | ||
| + <li> | ||
| + Bugfix for not being able to use the name "arguments" for a prototype | ||
| + property of class. | ||
| + </li> | ||
| + <li> | ||
| + Correctly compile large hexadecimal numbers literals to | ||
| + <code>2e308</code> (just like all other large number literals do). | ||
| + </li> | ||
| + </ul> | ||
| + </p> | ||
| + | ||
| + <p> | ||
| <%= releaseHeader('2016-09-24', '1.11.0', '1.10.0') %> | ||
| <ul> | ||
| <li> | ||
| @@ -1313,6 +1333,11 @@ six = -> | ||
| </ul> | ||
| </li> | ||
| <li> | ||
| + <code>&&=</code>, <code>||=</code>, <code>and=</code> and | ||
| + <code>or=</code> no longer accidentally allow a space before the | ||
| + equals sign. | ||
| + </li> | ||
| + <li> | ||
| Improved several error messages. | ||
| </li> | ||
| <li> | ||
| @@ -1321,7 +1346,7 @@ six = -> | ||
| <code>Infinity</code> into <code>2e308</code>. | ||
| </li> | ||
| <li> | ||
| - Bugfix for renamed destrucured parameters with defaults. | ||
| + Bugfix for renamed destructured parameters with defaults. | ||
| <code>({a: b = 1}) -></code> no longer crashes the compiler. | ||
| </li> | ||
| <li> | ||
View
2
documentation/js/aliases.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var volume, winner; | ||
| if (ignition === true) { | ||
View
2
documentation/js/array_comprehensions.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var courses, dish, food, foods, i, j, k, l, len, len1, len2, ref; | ||
| ref = ['toast', 'cheese', 'wine']; | ||
View
2
documentation/js/block_comment.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| /* | ||
| SkinnyMochaHalfCaffScript Compiler v1.0 | ||
View
2
documentation/js/cake_tasks.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var fs; | ||
| fs = require('fs'); | ||
View
2
documentation/js/chaining.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| $('body').click(function(e) { | ||
| return $('.box').fadeIn('fast').addClass('.active'); | ||
| }).css('background', 'white'); |
View
2
documentation/js/classes.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var Animal, Horse, Snake, sam, tom, | ||
| extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, | ||
| hasProp = {}.hasOwnProperty; | ||
View
2
documentation/js/comparisons.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var cholesterol, healthy; | ||
| cholesterol = 127; | ||
View
2
documentation/js/conditionals.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var date, mood; | ||
| if (singing) { | ||
View
2
documentation/js/constructor_destructuring.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var Person, tim; | ||
| Person = (function() { | ||
View
2
documentation/js/default_args.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var fill; | ||
| fill = function(container, liquid) { | ||
View
2
documentation/js/do.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var filename, fn, i, len; | ||
| fn = function(filename) { | ||
View
2
documentation/js/embedded.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var hi; | ||
| hi = function() { | ||
View
2
documentation/js/existence.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var footprints, solipsism, speed; | ||
| if ((typeof mind !== "undefined" && mind !== null) && (typeof world === "undefined" || world === null)) { | ||
View
2
documentation/js/expansion.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var first, last, ref, text; | ||
| text = "Every literary critic believes he will outwit history and have the last word"; | ||
View
2
documentation/js/expressions.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var eldest, grade; | ||
| grade = function(student) { | ||
View
2
documentation/js/expressions_assignment.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var one, six, three, two; | ||
| six = (one = 1) + (two = 2) + (three = 3); |
View
2
documentation/js/expressions_comprehension.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var globals, name; | ||
| globals = ((function() { | ||
View
2
documentation/js/expressions_try.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var error; | ||
| alert((function() { | ||
View
2
documentation/js/fat_arrow.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var Account; | ||
| Account = function(customer, cart) { | ||
View
2
documentation/js/functions.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var cube, square; | ||
| square = function(x) { | ||
View
2
documentation/js/generators.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var perfectSquares; | ||
| perfectSquares = function*() { | ||
View
2
documentation/js/heredocs.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var html; | ||
| html = "<strong>\n cup of coffeescript\n</strong>"; |
View
2
documentation/js/heregexes.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var OPERATOR; | ||
| OPERATOR = /^(?:[-=]>|[-+*\/%<>&|^!?=]=|>>>=?|([-+:])\1|([&|<>])\2=?|\?\.|\.{2,3})/; |
View
2
documentation/js/interpolation.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var author, quote, sentence; | ||
| author = "Wittgenstein"; | ||
View
2
documentation/js/modules.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| import 'local-file.coffee'; | ||
| import 'coffee-script'; | ||
View
2
documentation/js/modulo.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var modulo = function(a, b) { return (+a % (b = +b) + b) % b; }; | ||
| -7 % 5 === -2; | ||
View
2
documentation/js/multiple_return_values.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var city, forecast, ref, temp, weatherReport; | ||
| weatherReport = function(location) { | ||
View
2
documentation/js/object_comprehensions.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var age, ages, child, yearsOld; | ||
| yearsOld = { | ||
View
2
documentation/js/object_extraction.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var city, futurists, name, ref, ref1, street; | ||
| futurists = { | ||
View
2
documentation/js/objects_and_arrays.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var bitlist, kids, singers, song; | ||
| song = ["do", "re", "mi", "fa", "so"]; | ||
View
2
documentation/js/objects_reserved.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| $('.account').attr({ | ||
| "class": 'active' | ||
| }); | ||
View
2
documentation/js/overview.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var cubes, list, math, num, number, opposite, race, square, | ||
| slice = [].slice; | ||
View
2
documentation/js/parallel_assignment.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var ref, theBait, theSwitch; | ||
| theBait = 1000; | ||
View
2
documentation/js/patterns_and_splats.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var close, contents, i, open, ref, tag, | ||
| slice = [].slice; | ||
View
2
documentation/js/prototypes.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| String.prototype.dasherize = function() { | ||
| return this.replace(/_/g, "-"); | ||
| }; |
View
2
documentation/js/range_comprehensions.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var countdown, num; | ||
| countdown = (function() { | ||
View
2
documentation/js/scope.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var changeNumbers, inner, outer; | ||
| outer = 1; | ||
View
2
documentation/js/slices.js
| @@ -1,4 +1,4 @@ | ||
| -// Generated by CoffeeScript 1.11.0 | ||
| +// Generated by CoffeeScript 1.11.1 | ||
| var copy, end, middle, numbers, start; | ||
| numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9]; | ||
Oops, something went wrong.
Showing you all comments on commits in this comparison.
|
Regression since #4220. |