Cotton Hou
008bacf5d5
add compiled lib/browser.js
2015-03-09 15:59:10 +08:00
Cotton Hou
cc1b056b03
optionally to read data-src out from <script>
2015-03-09 15:37:09 +08:00
Matthieu Bulté
3548b4883e
Added checking on process.stdout to be compatible with browserify
2015-03-09 08:30:01 +01:00
Michael Ficarra
37a376497c
Merge pull request #3893 from josh/escape-literal-bracket-regexp
...
Escape literal ] in regexp
2015-03-08 22:18:16 -07:00
Joshua Peek
83744917b0
Escape literal ] in REGEX
...
] is not allowed in the PatternCharacter set
2015-03-08 21:59:09 -07:00
Jeremy Ashkenas
a548b70e8c
Merge pull request #3661 from dtaniwaki/fix-deprecated-option
...
Use stdio option instead of customFds
2015-03-06 09:58:33 -05:00
Jeremy Ashkenas
c8147c046a
Reverts #3758 , Fixes #3863 -- kills the broken warning
2015-03-03 14:30:52 -05:00
Jeremy Ashkenas
4a7497b451
Merge pull request #3886 from jashkenas/revert-3885-escape-literal-bracket-regexp
...
Revert "Escape literal [ in regexp"
2015-02-26 16:05:25 -05:00
Jeremy Ashkenas
06aa329596
Revert "Escape literal [ in regexp"
2015-02-26 16:05:12 -05:00
Jeremy Ashkenas
9becb0e937
Merge pull request #3885 from josh/escape-literal-bracket-regexp
...
Escape literal [ in regexp
2015-02-26 14:49:24 -05:00
Joshua Peek
7f7765546f
Escape literal [ in regexp
...
Improves compatibility with strict ES5 regexp syntax
2015-02-26 12:37:27 -06:00
Jeremy Ashkenas
c7a365b6f1
Merge pull request #3883 from alubbe/master
...
yield now behaves as expected around 'this'
2015-02-26 11:41:42 -05:00
Andreas Lubbe
84c125a71b
yield now behaves as expected around 'this' - fixes https://github.com/jashkenas/coffeescript/issues/3882
2015-02-26 13:01:12 +01:00
Jeremy Ashkenas
06b74591e7
Merge pull request #3877 from gilesbowkett/ocd-test-description-details
...
added descriptions to tests which only had Issue numbers
2015-02-23 23:18:22 -05:00
Giles Bowkett
6645fbb895
added descriptions to tests which only had Issue numbers
2015-02-23 16:39:05 -07:00
Jeremy Ashkenas
c2758da9eb
Merge pull request #3873 from Taritsyn/master
...
Fix getting of character at index
2015-02-23 10:36:47 -05:00
Jeremy Ashkenas
7a1c8fef0a
Merge pull request #3872 from banyan/add-link-of-changelog
...
Update README.md and remove README
2015-02-23 10:36:01 -05:00
Andrey Taritsyn
71c59dddcc
Fix getting of character at index
2015-02-22 19:08:15 +03:00
Kohei Hasegawa
ef6f90753a
Delete README
2015-02-21 14:12:19 -05:00
Kohei Hasegawa
50fff63252
Add link of changelog
2015-02-21 13:59:35 -05:00
Jeremy Ashkenas
8f5c77c3ce
Merge pull request #3871 from jcrben/doc_tweak
...
Replace references to jQuery's 'bind' with 'on'
2015-02-20 17:16:32 -05:00
Ben Creasy
88529bc339
Replace references to jQuery's 'bind' with 'on'
2015-02-20 14:02:47 -08:00
Jeremy Ashkenas
f37f9d1eda
Merge pull request #3867 from sgentle/require-option
...
add -r/--require command line option
2015-02-19 14:06:51 -05:00
Sam Gentle
836175baab
add -r/--require command line option
2015-02-20 02:58:10 +11:00
Jeremy Ashkenas
7395ac1d4f
variable names
2015-02-18 15:48:45 -05:00
Jeremy Ashkenas
61988fe361
#3862 changelog
2015-02-18 15:46:14 -05:00
Jeremy Ashkenas
533ad8afe9
CoffeeScript 1.9.1
1.9.1
2015-02-18 15:43:33 -05:00
Jeremy Ashkenas
1961f06e08
Merge pull request #3861 from lydell/heredoc-undefined
...
Fix single-line heredocs starting with "undefined"
2015-02-18 14:06:09 -05:00
Simon Lydell
4503e2716e
Fix single-line heredocs starting with "undefined"
2015-02-18 17:40:40 +01:00
Jeremy Ashkenas
e4d81005be
Merge pull request #3854 from alubbe/fixyieldreturn
...
fixed yield return producing incorrect output when used outside of the last line
2015-02-17 15:47:24 -05:00
Andreas Lubbe
b6012c4617
improved yield return test
2015-02-17 19:11:06 +01:00
Andreas Lubbe
feee6954a6
fixed yield return producing incorrect output when used outside of the last line
2015-02-17 19:11:06 +01:00
Jeremy Ashkenas
fea058c53a
Merge pull request #3858 from alubbe/master
...
fixed overly fragile repl test to work with 0.12
2015-02-17 10:49:43 -05:00
Andreas Lubbe
25d97aa136
fixed overly fragile repl test to work with 0.12, see https://github.com/jashkenas/coffeescript/issues/3855
2015-02-17 11:36:24 +01:00
Michael Ficarra
7c8849cc21
Merge pull request #3852 from alubbe/moretests
...
added a lot of ES6 generator tests
2015-02-15 11:46:10 -08:00
Andreas Lubbe
b362bd672c
added a lot of ES6 generator tests
2015-02-15 20:35:22 +01:00
Michael Ficarra
a4f510501c
Merge pull request #3853 from alubbe/fixyieldthrow
...
fixed being unable to use 'yield throw'
2015-02-15 10:55:17 -08:00
Andreas Lubbe
e3f6e19950
fixed being unable to use 'yield throw'
2015-02-15 19:01:00 +01:00
Jeremy Ashkenas
b49b41320e
Merge pull request #3758 from DiThi/master
...
Prevent writing the same file several times (fixes #3753 )
2015-02-12 14:27:06 -05:00
Alberto Torres Ruiz
6bc3157793
Prevent writing the same file several times ( fixes #3753 )
2015-02-12 20:20:35 +01:00
Jeremy Ashkenas
dc8a2b17d0
Merge pull request #3849 from lydell/regex-end-invalid-escape
...
Fix error message for invalid escape at end of regex
2015-02-12 13:55:10 -05:00
Jeremy Ashkenas
c3ae2328af
Merge pull request #3850 from lydell/implicit-object-start-token
...
Fix #3846 : Fix odd start token of implicit objects
2015-02-12 13:54:38 -05:00
Simon Lydell
57846ea5c0
Fix #3846 : Fix odd start token of implicit objects
...
Now the same hack as for reserved identifier tokens in the lexer is used
instead.
2015-02-12 19:41:12 +01:00
Simon Lydell
3da88b9b3f
Fix error message for invalid escape at end of regex
2015-02-12 19:26:41 +01:00
Jeremy Ashkenas
8130e63e43
Merge pull request #3802 from mapmeld/multiline_comment_fix
...
Allow multiline comment at end of an object definition [Fixes #3761 ]
2015-02-10 23:56:01 -05:00
Nick Doiron
dc44ebbdaa
allow multiline comment inside of an object definition [ Fixes #3761 ]
...
use more CoffeeScript syntax
2015-02-10 23:35:39 -05:00
Jeremy Ashkenas
88ad059d54
Merge pull request #3840 from lydell/dynakeys
...
Fix #3597 : Allow interpolations in object keys
2015-02-10 10:43:26 -05:00
Simon Lydell
76c076db55
Fix #3597 : Allow interpolations in object keys
...
The following is now allowed:
o =
a: 1
b: 2
"#{'c'}": 3
"#{'d'}": 4
e: 5
"#{'f'}": 6
g: 7
It compiles to:
o = (
obj = {
a: 1,
b: 2
},
obj["" + 'c'] = 3,
obj["" + 'd'] = 4,
obj.e = 5,
obj["" + 'f'] = 6,
obj.g = 7,
obj
);
- Closes #3039 . Empty interpolations in object keys are now _supposed_ to be
allowed.
- Closes #1131 . No need to improve error messages for attempted key
interpolation anymore.
- Implementing this required fixing the following bug: `("" + a): 1` used to
error out on the colon, saying "unexpected colon". But really, it is the
attempted object key that is unexpected. Now the error is on the opening
parenthesis instead.
- However, the above fix broke some error message tests for regexes. The easiest
way to fix this was to make a seemingly unrelated change: The error messages
for unexpected identifiers, numbers, strings and regexes now say for example
'unexpected string' instead of 'unexpected """some #{really long} string"""'.
In other words, the tag _name_ is used instead of the tag _value_.
This was way easier to implement, and is more helpful to the user. Using the
tag value is good for operators, reserved words and the like, but not for
tokens which can contain any text. For example, 'unexpected identifier' is
better than 'unexpected expected' (if a variable called 'expected' was used
erraneously).
- While writing tests for the above point I found a few minor bugs with string
locations which have been fixed.
2015-02-09 17:32:37 +01:00
Michael Ficarra
5698e6c72a
Merge pull request #3842 from arianf/master
...
Fixed copyright range to be updated to 2015
2015-02-08 13:56:05 -08:00
Arian Faurtosh
e0e4967ad8
Fixed copyright range to be updated to 2015
2015-02-08 11:28:51 -08:00