We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
http://satyr.github.com/cup/#c:export%20const%20foo1%20=%20-%3E%20%22hi%22%0A%0Aconst%20foo2%20=%20-%3E%20%22hi%22%0Aexport%20foo2
code:
export const foo1 = -> "hi" const foo2 = -> "hi" export foo2
expected:
var foo1, foo2, out$ = typeof exports != 'undefined' && exports || this; foo1 = function(){ return "hi"; }; out$.foo1 = foo1; foo2 = function(){ return "hi"; }; out$.foo2 = foo2;
actual:
var foo1, foo2, out$ = typeof exports != 'undefined' && exports || this; import$(out$, foo1 = function(){ return "hi"; }); foo2 = function(){ return "hi"; }; out$.foo2 = foo2; function import$(obj, src){ var own = {}.hasOwnProperty; for (var key in src) if (own.call(src, key)) obj[key] = src[key]; return obj; }
The text was updated successfully, but these errors were encountered:
Looks like I forgot to make it unroll sub-blocks and managed to write a wrong test. Fixing.
Sorry, something went wrong.
bb5b5a3
update jspackage to 0.4.9, work around for satyr/coco#165
837252f
No branches or pull requests
http://satyr.github.com/cup/#c:export%20const%20foo1%20=%20-%3E%20%22hi%22%0A%0Aconst%20foo2%20=%20-%3E%20%22hi%22%0Aexport%20foo2
code:
expected:
actual:
The text was updated successfully, but these errors were encountered: