mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 11:31:20 -05:00
Merge branch 'master' of git://github.com/Tim-Smart/coffee-script
This commit is contained in:
@@ -908,7 +908,7 @@ ForNode: exports.ForNode: inherit Node, {
|
||||
if range
|
||||
index_var: scope.free_variable()
|
||||
source_part: source.compile_variables(o)
|
||||
for_part: index_var + '=0, ' + source.compile(merge(o, {index: ivar, step: @step})) + ', ' + index_var + '++'
|
||||
for_part: index_var + ' = 0, ' + source.compile(merge(o, {index: ivar, step: @step})) + ', ' + index_var + '++'
|
||||
else
|
||||
index_var: null
|
||||
source_part: svar + ' = ' + @source.compile(o) + ';\n' + @idt()
|
||||
|
||||
Reference in New Issue
Block a user