-
Notifications
You must be signed in to change notification settings - Fork 9
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
The ModuleStyle doesn't show correctly? #23
Comments
Hi, I'll have a look a little bit later. Meanwhile, make sure you use the lastest version ( |
OK, just tested it. Seemed to work fine with what I expected. Although, right now, the only difference between AMD and CommonJs is that the AMD is wrapped, eg: define(function(require, exports, module) {
var $ = require("jquery");
}); -- vs -- var $ = require("jquery"); And you'd like to have it classic AMD way? define([ "jquery" ], function( $ ) {
}); |
Exactly,thanks SBoudrias, i'd like the classic AMD way..while anyway i think i'm adopt to the commonjs style now. |
Yeah, although the commonjs style have some little drawback. I was thinking about this today, and I'll probably add a classic AMD style supports for modules. Just need to figure out the best way yet! |
Thanks SBoudrias. |
Hey, keep it open so I can keep track ;) |
Hi,i'm im windows and use the command yo bbb,and it prompt me to choose the modestyle where i choose amd.After installing,i found the moduleStyle is commonJS.
Why is that happend?
Thans for any help..
The text was updated successfully, but these errors were encountered: