-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Implicit Async Functions #3757
Changes from 9 commits
911dbb7
e95ef25
1e27d68
0c58ad7
6ee9746
0c06e15
0b03216
d83b565
0e46305
361ee23
5a04d02
7c1cae0
4e0ff11
70f3032
8890335
0cdaee0
83347ab
2d878f8
20e4c4b
5885b5a
ab097ed
22d3b49
2ca8a01
8a34f23
2ec3c5f
e142e43
bd12265
88fff70
b083ef1
2353127
ed79f56
0cb15e4
75593d7
7fccb4e
f1572c3
8c289dc
db435a2
04c6ba4
596d182
85a6d56
48e82b0
03890a7
ed57a15
cc53738
5042d7a
e7d5fd9
9fcb432
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ test.litcoffee | |
parser.output | ||
test/fixtures/underscore | ||
test/*.js | ||
!test/promise.js | ||
examples/beautiful_code/parse.coffee | ||
*.gem | ||
/node_modules | ||
build.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this here? |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -277,10 +277,11 @@ runTests = (CoffeeScript) -> | |
# Run every test in the `test` folder, recording failures. | ||
files = fs.readdirSync 'test' | ||
|
||
# Ignore generators test file if generators are not available | ||
# Ignore generator dependent test files if generators are not available | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please restore this code block, but make it reference |
||
generatorsAreAvailable = '--harmony' in process.execArgv or | ||
'--harmony-generators' in process.execArgv | ||
files.splice files.indexOf('generators.coffee'), 1 if not generatorsAreAvailable | ||
files.splice files.indexOf('async.coffee'), 1 if not generatorsAreAvailable | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would have made an |
||
|
||
for file in files when helpers.isCoffee file | ||
literate = helpers.isLiterate file | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this here?