maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
727 stars 58 forks source link

“Try it” on website compiles as normal CoffeeScript #137

Closed s4y closed 9 years ago

s4y commented 9 years ago

If I paste this into the "try it" textarea on http://maxtaco.github.io/coffee-script/:

console.log 'before'
await setTimeout defer(), 1000
console.log 'after'

it compiles to this:

console.log('before');

await(setTimeout(defer(), 1000));

console.log('after');
maxtaco commented 9 years ago

oy

i wonder when i broke that

On Tue, Oct 28, 2014 at 11:44 PM, Sidney San Martín < notifications@github.com> wrote:

If I paste this into the "try it" textarea on http://maxtaco.github.io/coffee-script/:

console.log 'before'await setTimeout defer(), 1000console.log 'after'

it compiles to this:

console.log('before'); await(setTimeout(defer(), 1000)); console.log('after');

— Reply to this email directly or view it on GitHub https://github.com/maxtaco/coffee-script/issues/137.

maxtaco commented 9 years ago

Fixed now, thanks for the bug report.