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

Do not load un-needed modules #4

Open
cjolif opened this issue Dec 4, 2013 · 0 comments
Open

Do not load un-needed modules #4

cjolif opened this issue Dec 4, 2013 · 0 comments
Assignees

Comments

@cjolif
Copy link
Contributor

cjolif commented Dec 4, 2013

Un-needed handlers must not be download. A solution would be to use has plugin to require them:

define(["./features!mspointer?mspointer", ...], function(mspointer, ...) {
});

with dpointer/features:

define(["dojo/has"], function (has) {
   has.add("mspointer", ....);
   // ..
   return has;
}
@ghost ghost assigned seb-pereira Jan 2, 2014
seb-pereira pushed a commit to seb-pereira/dpointer that referenced this issue Sep 8, 2014
seb-pereira pushed a commit to seb-pereira/dpointer that referenced this issue Sep 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants