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

Does not work with require.js + node.js #77

Open
c9s opened this issue Aug 31, 2013 · 0 comments
Open

Does not work with require.js + node.js #77

c9s opened this issue Aug 31, 2013 · 0 comments

Comments

@c9s
Copy link

c9s commented Aug 31, 2013

When using require.js + node.js to combine scripts:

The below code in the coffeecup.js does not load the compiler.js file, the below code only works for the coffeecup executable...

  coffeecup = exports;
  coffee = require('coffee-script');
  compiler = require(__dirname + '/compiler');
  compiler.setup(coffeecup);
  fs = require('fs');
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

1 participant