Jeremy Ashkenas
a8a581acae
Never return from a constructor.
2011-05-10 10:03:22 -04:00
Jeremy Ashkenas
6d6e07604e
Fixing external constructors / order of execution for once and for all ... knock on wood.
2011-05-10 09:24:20 -04:00
Michael Ficarra
56b2b02637
some cleanup, renaming temporary variable from _by to _step
2011-05-06 23:10:46 -04:00
Michael Ficarra
d031c26229
Merge git://github.com/geraldalewis/coffee-script into geraldalewis_issue1326
2011-05-06 22:53:26 -04:00
Michael Ficarra
7a4fd2ec01
slightly improved fix for #1182 and #1313
2011-05-06 09:47:40 -04:00
Michael Ficarra
8781a148db
issues #1313 and #1182 : better class compilation in presence of
...
externally defined constructors and inheritence via `extends`. Thanks to
@stephank for the suggested approach.
2011-05-06 01:00:35 -04:00
Gerald Lewis
ac46ede170
Fix for #1326 by value is uncached
2011-05-04 13:12:05 -04:00
Jeremy Ashkenas
c51679810a
fixing unfoldSoak performance my memoizing. #1033
2011-04-30 13:13:09 -04:00
Michael Ficarra
7efea4bb23
removed "globals" option of CoffeeScript.compile and enhanced fix from
...
previous commits
2011-04-29 15:53:30 -04:00
Jeremy Ashkenas
0bad04d374
Issue #1182 -- subclasses with external constructor functions.
2011-04-27 21:56:08 -04:00
Jeremy Ashkenas
7e8b52ad70
be more consistent about ===
2011-04-20 23:43:41 -04:00
Jeremy Ashkenas
d5a5f9572e
be consistent about triple-equals-equality.
2011-04-20 23:24:59 -04:00
Jeremy Ashkenas
039109ed56
Removing resources section from the homepage, in favor of linking to the Wiki. #1137
2011-04-20 23:08:21 -04:00
Jeremy Ashkenas
f3f34e9ef5
Fixes #1188 , scope for self-referencing functions.
2011-04-20 22:16:56 -04:00
Jeremy Ashkenas
2f39102026
merging fix for #1124
2011-04-18 20:44:27 -04:00
Michael Ficarra
0090aee0e5
full revert of 4ce374be25
2011-04-09 10:48:14 -04:00
Michael Ficarra
230dea1243
fixes #1274 : {}=a() and []=a() compile to false instead of a()
2011-04-09 09:54:45 -04:00
Michael Ficarra
31ae260282
unnecessarily strict {in,}equality in existence checks
2011-03-29 17:25:09 -04:00
Jann Horn
6ec9c844e4
fixes #1124 (and uglifies generated JS)
2011-03-28 23:12:27 +02:00
Michael Ficarra
b0d2bf4afe
Merge branch 'improvedRangeCompilation' of github.com:michaelficarra/coffee-script into michaelficarra-improvedRangeCompilation
2011-03-28 00:51:42 -04:00
Michael Ficarra
8f73bc3b4c
Merge branch 'bugfix-1108' of https://github.com/thejh/coffee-script into thejh-bugfix-1108
2011-03-27 23:54:46 -04:00
Jann Horn
e84e703211
fixes bug mentioned by @satyr in #1108
...
"[v] = a ? b" must compile to
v = (typeof a != "undefined" && a !== null ? a : b)[0];
and not to:
v = typeof a != "undefined" && a !== null ? a : b[0];
2011-03-27 21:22:09 +02:00
Jann Horn
0497c0742f
fixes #1099 : instead of nothing, compile to false
...
"if a in []"
2011-03-27 19:46:44 +02:00
Michael Ficarra
c4b72fcc79
improved range compilation
2011-03-23 13:49:15 -04:00
Jeremy Ashkenas
963adb5230
merging jcoglan's splat declaration patch.
2011-03-12 07:41:14 -06:00
James Coglan
b9343b458f
Fix scoping of splat parameters in argument lists.
2011-03-12 11:46:07 +00:00
Jeremy Ashkenas
b7855857b5
stop trimming all trailing whitespace.
2011-03-11 22:39:32 -05:00
Timothy Jones
96b22a16eb
Closes #1001 . Throw cannot be directly used as an expression with parens, but can appear as a statement in an expression.
2011-02-23 15:50:28 +13:00
Jeremy Ashkenas
005c5309c4
Merging in stable at 1.0.1
2011-01-31 23:34:34 -05:00
Jeremy Ashkenas
37308e6760
Issue #1071 , parenthesizing undefined literals when accessed.
2011-01-30 21:16:39 -05:00
Jeremy Ashkenas
4ce374be25
Issue #870 ... placeholders in destructuring assignment.
2011-01-30 20:49:02 -05:00
Jeremy Ashkenas
8b8e8a94ff
Issue #997 ... Maloptimized break suppression.
2011-01-30 20:28:11 -05:00
Timothy Jones
2ca108820f
Closes #973 . New is more careful around the do construct.
2011-01-22 23:26:38 +13:00
Timothy Jones
dc6bd715b2
Closes #970 . Statements that use new are wrapped in parens to avoid the closure being used.
2011-01-22 23:12:39 +13:00
Jeremy Ashkenas
3924c2f2bd
First draft of fixing shorthand objects mixed with regulars within arrays.
2011-01-19 22:36:30 -05:00
Jeremy Ashkenas
53dc1f2055
Merging in donjones' implicit object fix, hooray.
2011-01-18 23:46:55 -05:00
Jeremy Ashkenas
566087b518
Expressions -> Block
2011-01-15 14:19:35 -05:00
Jeremy Ashkenas
f4a7cca075
Issue #1038 ... optimize away trailing return / and return undefined
2011-01-15 14:14:11 -05:00
Jeremy Ashkenas
47e4f4dae1
Merge branch 'issue1011' of http://github.com/michaelficarra/coffee-script
2011-01-10 23:25:28 -05:00
Jeremy Ashkenas
44355f8eef
Issue #1024 .
2011-01-10 23:09:21 -05:00
Michael Ficarra
5f19f65ef2
obeying coffeescript convention of a single space after every comma
2011-01-07 03:20:48 -05:00
Gerald Lewis
782bc6c03a
fix for issue 1014 - arguments object in ranged array - apply(this,arguments) instead of call(this)
2011-01-06 21:51:04 -05:00
Michael Ficarra
b158f1cbe6
fix for #1011
2011-01-06 12:38:54 -05:00
Jeremy Ashkenas
9bed99482a
Consistently using == instead of === in conjunction with typeof.
2010-12-30 21:15:50 -05:00
Jeremy Ashkenas
c16c90c00a
Issue #986 ... Unicode identifiers.
2010-12-28 17:42:20 -08:00
Jeremy Ashkenas
094b876a38
Scoped comprehensions are back out, Do is back in.
2010-12-24 08:59:30 -08:00
Jeremy Ashkenas
9b45d240bb
splice literals should evaluate to their right hand side, like any other type of assignment.
2010-12-23 14:46:34 -08:00
Jeremy Ashkenas
2d54a45a80
splicing to the end of a one-time expression.
2010-12-23 14:02:46 -08:00
Jeremy Ashkenas
c7d7757dbd
Fixing the asKey setting in Obj.
2010-12-23 13:38:20 -08:00
Jeremy Ashkenas
6a1730956e
slightly less parentheticals.
2010-12-23 12:41:42 -08:00