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

r.js can't replace root.define #45

Closed
sargismarkosyan opened this issue Jul 14, 2015 · 0 comments
Closed

r.js can't replace root.define #45

sargismarkosyan opened this issue Jul 14, 2015 · 0 comments

Comments

@sargismarkosyan
Copy link

I use grunt-contrib-requirejs for move all code in one file but r.js wich is using for compilations don't understand following code

root.define(function(require, exports, module){
    root.define.amd.grapnel = true;
    return Grapnel;
});

and can't replace it into something like this

root.define('Grapnel',[],function(require, exports, module){
    root.define.amd.grapnel = true;
    return Grapnel;
});
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