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

loading with require.js #35

Closed
asurabhi opened this issue Apr 11, 2014 · 4 comments
Closed

loading with require.js #35

asurabhi opened this issue Apr 11, 2014 · 4 comments

Comments

@asurabhi
Copy link

This is not a bug. But wanted help in using this library. When i load "ember-qunit/dist/amd/main" using config.json of require, it is failing to load dependencies like "isolated-container", "module-for" and other module. Those modules are there as in the git-hub, but failing to load them.
Do you know how to fix this issue?
One difference i noticed compare to other modules,
all other modules i am loading contains a function. But the main module of ember-qunit contains define function.
what could be the problem?
Thanks for your help in advance. Any help is very much appreciated.

@ryanflorence
Copy link
Contributor

you need to register it as a package, or symlink the amd folder into your
baseUrl

On Fri, Apr 11, 2014 at 3:08 PM, asurabhi [email protected] wrote:

This is not a bug. But wanted help in using this library. When i load
"ember-qunit/dist/amd/main" using config.json of require, it is failing to
load dependencies like "isolated-container", "module-for" and other module.
Those modules are there as in the git-hub, but failing to load them.
Do you know how to fix this issue?
One difference i noticed compare to other modules,
all other modules i am loading contains a function. But the main module of
ember-qunit contains define function.
what could be the problem?
Thanks for your help in advance. Any help is very much appreciated.

Reply to this email directly or view it on GitHubhttps://github.com//issues/35
.

@asurabhi
Copy link
Author

@rpflorence registering as a package solved the issue. thanks.

@jedateach
Copy link

@asurabhi Can you give an example of the requirejs package config you used? I'm having difficulty wiring it up to my app.

@jedateach
Copy link

@ryanflorence @rwjblue Could the README perhaps be updated to include instructions on requiring ember-qunit as a package?

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

3 participants