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

Please document the required 'qunit' module id #63

Open
agistrilink opened this issue Jan 16, 2017 · 0 comments
Open

Please document the required 'qunit' module id #63

agistrilink opened this issue Jan 16, 2017 · 0 comments

Comments

@agistrilink
Copy link

In the case of amd loading, the require call uses the 'qunit' module id, i.e. require(['qunit'], factory).

As qunit.js defines itself anonymously, the 'qunit' must be defined and point to the correct qunit.js file. When using requirejs, this means that the 'qunit' should be defined in the paths option of the config.js file.

This external assumption/requirement should be documented.

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