Jeremy Ashkenas
ed8d94f69c
CoffeeScript 1.3.0
2012-04-10 14:57:45 -04:00
Michael Ficarra
ddd6e9a48b
abb11c80d1 didn't consider objects with [[Call]]
2012-03-10 11:54:31 -05:00
Michael Ficarra
abb11c80d1
splatted constructors returning null should produce the new instance
2012-03-07 18:19:53 -05:00
Jeremy Ashkenas
7c1f4b38f4
start with 1, then 2 for reused vars.
2012-02-29 23:46:03 -05:00
Jeremy Ashkenas
b9cfb5a7d8
Fixes #2155 -- existential assignment to a closure
2012-02-29 23:41:57 -05:00
Jeremy Ashkenas
1c8411f628
merging in early error for compound assignment to undeclared variables.
2012-02-28 10:42:11 -05:00
Jakub Wieczorek
eb8e20c3ef
Fix a confusing error message for '(arguments) ->'
2012-02-12 15:38:42 +01:00
Gerald Lewis
c3a8a4f81f
Issue #2054 "{arguments}"
...
Fixes error message: SyntaxError: variable name may not be "true"
Permits assigning to "arguments" and "eval" properties in
object literals.
2012-01-19 11:33:43 -05:00
Michael Ficarra
7c56da26f6
fixes #2055 : destructuring assignment with new
2012-01-18 23:12:50 -05:00
Gerald Lewis
bf8e0aa1ea
Issue #1547 'use strict' style tweaks, cleanup, and compiled output
2012-01-16 17:35:21 -05:00
Michael Ficarra
df7ab264ab
fixes #2037 : line terminators are incorrectly added after herecomments
...
thanks @geraldalewis for finding the relevant line and making this fix
way too easy for me
2012-01-16 15:38:00 -05:00
Gerald Lewis
2ec4c38433
#1534 class then "use strict": multiple directives support
2012-01-14 15:07:32 -05:00
Gerald Lewis
fd1fa7d551
#1534 class then "use strict": herecomments fix
2012-01-13 13:59:24 -05:00
Gerald Lewis
5816de39ba
#1534 class then "use strict" compiled output
2012-01-12 18:35:04 -05:00
Michael Ficarra
ff05575b78
fixes #1973 : redefining Array/Object constructors shouldn't break helpers
2012-01-10 17:01:27 -05:00
Trevor Burnham
11342ef97b
Rebuilding -> our JS files now include the generated header
2012-01-10 12:55:41 -05:00
Jeremy Banks
3484ca5e64
Merge remote-tracking branch 'jashkenas/master' into fix-conditional-assignment
...
Conflicts:
test/assignment.coffee
2012-01-03 03:09:46 -05:00
Jeremy Ashkenas
8dfec65034
Fixes #1980
2011-12-27 16:54:14 -08:00
Michael Ficarra
080ed2e8dd
fixes #1966 : external constructors should produce their return value
2011-12-24 06:51:14 -05:00
Michael Ficarra
0c4cb309b0
getting rid of excessive spaces after Class.name = "Class" assignment
2011-12-24 06:49:21 -05:00
Michael Ficarra
8d5f800e2f
literals need newlines after them
2011-12-24 06:46:09 -05:00
Michael Ficarra
c6c527e830
appeasing Jeremy: switching prefix increments out for postfix equivalent
2011-12-21 14:37:38 -05:00
Michael Ficarra
fc0a169a9a
fixes #1910 : loop index should be mutable within a loop iteration and immutable between loop iterations
2011-12-21 14:06:34 -05:00
Jeremy Ashkenas
a477880edc
Fixes #960 -- 'do' is now more efficient and permissive about undefined values.
2011-12-18 20:53:30 -05:00
Jeremy Ashkenas
1018c51359
Fixes #494 : Forcing named classes in CoffeeScript (named functions) ... even in IE.
2011-12-18 20:00:09 -05:00
Jeremy Ashkenas
8d8c345216
removing unused @name
2011-12-18 19:37:11 -05:00
Jeremy Ashkenas
846306f85e
Fixes #1771 : Fixing the indexOf shim.
2011-12-18 13:02:27 -05:00
Jeremy Ashkenas
0069c4901f
reverting the closure wrapper removal again.
2011-12-18 10:35:42 -05:00
Jeremy Ashkenas
93b118bfa2
Revert "reverting to 26a28abcb5 behaviour"
...
This reverts commit 38b6a43e26 .
2011-12-18 10:27:32 -05:00
Michael Ficarra
38b6a43e26
reverting to 26a28abcb5 behaviour
...
This is only slightly problematic for the most pathological of cases
where a prelude is followed by a set of statements, none of which
generate top-level variables or attempt to return. In these cases, the
non-prelude statements will be indented. See related discussion at
e4b3e838e2 .
2011-12-15 22:11:42 -05:00
Jeremy Ashkenas
e4b3e838e2
removing the closure-wrapping-removal optimization, because it was incorrectly formatting the code it optimized.
2011-12-15 15:21:58 -05:00
Jeremy Ashkenas
fac615108c
Fixes #1861
2011-12-14 12:44:27 -05:00
Jeremy Ashkenas
ddfe89d916
cleaning up super assignment.
2011-12-14 12:38:19 -05:00
Jeremy Ashkenas
b0948f81dd
Fixes #1876
2011-12-14 12:17:21 -05:00
Jeremy Ashkenas
85286b8ca5
Fixes #1842
2011-12-14 11:02:10 -05:00
Jeremy Ashkenas
74944da211
fixing extra newline in the prelude
2011-12-14 10:41:17 -05:00
Jeremy Ashkenas
c9a0a33fa2
reverting 63ab88
2011-12-14 10:39:20 -05:00
Michael Ficarra
26a28abcb5
fixes #1509 : compile initial comments/literals outside of safety wrapper
2011-12-12 02:49:21 -05:00
Michael Ficarra
621e5648e3
fixed #1858 for real now
2011-12-10 22:40:08 -05:00
Michael Ficarra
f0728fcf8f
fixes #1858 : top-level returns should force safety wrapper
2011-12-10 22:06:38 -05:00
Michael Ficarra
63ab886e9f
removed excessive spacing
2011-12-10 21:19:59 -05:00
Michael Ficarra
0ce332edca
fixes #1911 : remove spacing around initial skipped comments/JS
2011-12-04 16:43:26 -05:00
Marijn Haverbeke
24836ccf6d
Stop treating debugger statements as jumps
...
Since in most debuggers you can continue past them.
No tests added, since I wasn't sure how to test code with `debugger`
in it.
2011-11-25 12:46:39 +01:00
Jeremy Ashkenas
2fb6d0beb9
Revert "Closes #1001 . Throw cannot be directly used as an expression with parens, but can appear as a statement in an expression."
...
This reverts commit 96b22a16eb .
2011-11-24 09:33:45 -05:00
Jeremy Ashkenas
1e25c9da30
Merge pull request #1851 from michaelficarra/issue1844
...
fixes #1844 : bound functions in nested comprehensions causing empty var statements
2011-11-14 07:49:51 -08:00
satyr
5bf8b422f8
nodes: added missing jump-guard in While::makeReturn, fixing #1850
2011-11-11 06:56:49 +09:00
Michael Ficarra
424bb17224
cleaning up tab calculation in last commit
2011-11-10 03:14:41 -05:00
Michael Ficarra
6d6a5f609a
fixes #1844 : bound functions in nested comprehensions
...
causing empty var statements
2011-11-10 03:08:38 -05:00
Michael Ficarra
d359764fba
fixes #1774 : generate safety wrapper only when necessary. awesome.
2011-10-17 16:12:09 -04:00
Michael Ficarra
cf996d2c4a
quick fix to part of new issue in #1099 :
...
`not in []` unconditionally compiled to `false`
2011-10-03 06:43:00 -04:00