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

Some of the test files reference a global "require" #2

Closed
rbackhouse opened this issue Aug 20, 2011 · 0 comments
Closed

Some of the test files reference a global "require" #2

rbackhouse opened this issue Aug 20, 2011 · 0 comments

Comments

@rbackhouse
Copy link
Contributor

There are a couple of test files that don't specify require as a dependency and thus attempt to use a global one. If a global require is not provided by the loader tests that use these files fail with a reference error.

The 2 files in question are :

https://github.com/amdjs/amdjs-tests/blob/master/tests/anon/funcThree.js
https://github.com/amdjs/amdjs-tests/blob/master/tests/basic/funcThree.js

If I add require as a dependency to them the tests pass in my loader which does not provide a global require.

jrburke pushed a commit that referenced this issue Jan 21, 2012
using latest version of inject.js for amdjs-tests, and fix one small bug and pass all tests. Related to jakobo/inject#78
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