Skip to content
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

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

Closed
s4y opened this issue Oct 29, 2014 · 2 comments
Closed

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

s4y opened this issue Oct 29, 2014 · 2 comments

Comments

@s4y
Copy link

s4y commented Oct 29, 2014

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
Copy link
Owner

maxtaco commented Oct 29, 2014

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
#137.

@maxtaco
Copy link
Owner

maxtaco commented Nov 6, 2014

Fixed now, thanks for the bug report.

@maxtaco maxtaco closed this as completed Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants