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
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
Jeremy Ashkenas
e9e5ae119f
adding a test case for throw-as-an-expression.
2011-11-24 09:57:34 -05:00
Jeremy Ashkenas
2c92904109
Reverting conclusion of #1001 -- Throw should be able to be used as part of an expression.
2011-11-24 09:36:16 -05: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
b9c17cab3c
Merge pull request #1888 from joliss/fat-arrow-doc
...
Document fat arrow in class definitions.
2011-11-23 09:18:00 -08:00
Jo Liss
d2c3b79617
Document fat arrow in class definitions.
...
This pleasently surprised but also confused me when it worked. Now it's
documented. No example (yet), alas, but better than nothing.
Originally added in/around 07e66dd2 .
2011-11-23 18:15:50 +01:00
Jeremy Ashkenas
03b8222c9e
Merge pull request #1887 from joliss/index-doc
...
Use "index" for index variable in for loop
2011-11-23 07:33:10 -08:00
Jo Liss
57e109ff11
Use "index" for index variable in for loop
...
This confused me every time I Ctrl+F'ed the home page for "index" and only got
this cryptic statement:
"Comprehensions replace (and compile into) for loops, with optional guard clauses
and the value of the current array index."
Now I can see how the index is used in the code.
2011-11-23 16:25:21 +01:00
Michael Ficarra
30614c5721
I'd rather have a long line than an orphan.
2011-11-18 15:17:26 -05:00
Jeremy Ashkenas
55521a2f4c
Merge pull request #1868 from geraldalewis/1840_invocation_prototype_prop_access
...
#1840 Invocation Prototype Prop Access
2011-11-14 09:59:58 -08:00
Gerald Lewis
8762e37e58
Merge branch '1840' into 1840_invocation_prototype_prop_access
2011-11-14 11:43:30 -05:00