Jeremy Ashkenas
846306f85e
Fixes #1771 : Fixing the indexOf shim.
2011-12-18 13:02:27 -05:00
Jeremy Ashkenas
a0aa090f2c
Fixes #1859 -- postfix if preceding an unparenthesized single-line function body
2011-12-18 12:55:21 -05:00
Jeremy Ashkenas
460b5d6edb
Got --watch with directory watching and addition / removal of inner subdirectories working...
2011-12-18 12:26:04 -05:00
Jeremy Ashkenas
b9805f3f80
More work on watching / joining ... Fixes #1941 , fixes #365 . Watched files may now be added and removed, including with --join
2011-12-18 11:27:02 -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
Jeremy Ashkenas
7c6bc95a84
Correcting and cleaning up --join ... now it works in conjunction with --watch
2011-12-18 10:27:22 -05:00
Jeremy Ashkenas
ee8a1a3b68
style fixes to command.coffee
2011-12-18 09:17:01 -05:00
Jeremy Ashkenas
5bca978444
Fixes #1853 -- fs.watch trouble.
2011-12-18 09:05:42 -05:00
clutchski
347409e354
Code review tweaks.
2011-12-17 19:18:24 -05:00
clutchski
c284f3f226
Mark implicit parens generated.
2011-12-17 18:45:48 -05:00
clutchski
cdd3c13ce9
Marking indentation tokens generated with helper.
2011-12-17 18:40:50 -05:00
clutchski
f6dbaa7c31
Adding generated token helper function.
2011-12-17 18:25:51 -05:00
clutchski
a4553c970c
Delete trailing whitespace.
2011-12-17 18:04:50 -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
121009dec4
Fixes #1813
2011-12-15 16:03:01 -05:00
Jeremy Ashkenas
510fb59e29
Fixes #1871 , allows single-line implicit ends to close implicit objects.
2011-12-15 15:43:38 -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
4b70a16cf9
refactoring rewriter to make the methods read consistently.
2011-12-15 13:33:47 -05:00
Jeremy Ashkenas
af0ee70ea3
Fixes #1903
2011-12-15 12:29:03 -05:00
Jeremy Ashkenas
ad39150565
Fixing crappy JS AMD code.
2011-12-15 11:21:38 -05:00
Jeremy Ashkenas
686ef9e7f4
Fixes #1838
2011-12-14 18:31:20 -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
00f9e244f2
Fixes #1922
2011-12-14 11:32:40 -05:00
Jeremy Ashkenas
eb55f2d8f4
style
2011-12-14 11:26:25 -05:00
Jeremy Ashkenas
b50315d8a0
Adding a more comprehensive test case for the previous commit.
2011-12-14 11:06:01 -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
Jeremy Ashkenas
b12be3188f
tweaking dev dependencies
2011-12-14 10:37:05 -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
5f1314cd66
Merge pull request #1927 from clutchski/traverse-children
...
Documentation fix: s/traverse/traverseChildren/
2011-12-11 22:03:23 -08:00
clutchski
0ad9d4bf16
Documentation fix: s/traverse/traverseChildren/
2011-12-12 00:57:17 -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
7b4f1b165d
fixes #1924 : CoffeeScript.compile shouldn't modify options object
2011-12-10 21:00:28 -05:00
Michael Ficarra
8855eede5f
Merge pull request #1697 from showell/doc-usage
...
split out Usage section
2011-12-07 08:38:00 -08:00
Michael Ficarra
69d49e137a
more correct jison requirement
2011-12-07 11:13:51 -05:00
Jeremy Ashkenas
94e17e0d88
Merge pull request #1916 from ded/patch-1
...
jison 0.2.11 requires node v0.4 - v0.5
2011-12-06 15:41:34 -08:00
Dustin Diaz
5debc3c903
jison 0.2.11 requires node v0.4 - v0.5, which in turns makes coffee-script incompatible with node v0.6
2011-12-06 15:03:02 -08:00
Michael Ficarra
0ce332edca
fixes #1911 : remove spacing around initial skipped comments/JS
2011-12-04 16:43:26 -05:00
Jeremy Ashkenas
b122406683
huh.
2011-11-25 08:49:51 -05:00
Jeremy Ashkenas
35dc56d785
making debugger an expression.
2011-11-25 08:35:20 -05:00
Jeremy Ashkenas
6cb13f4c44
Merge pull request #1892 from marijnh/master
...
Two tiny fixes
2011-11-25 05:01:56 -08:00
Marijn Haverbeke
26d5c99570
Fix bug in lexer's reserved word error message
2011-11-25 12:46:40 +01: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
7d22a011ab
amending the previous test
2011-11-24 09:58:04 -05:00