-
Notifications
You must be signed in to change notification settings - Fork 40
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
Bug when using with require.js #16
Comments
Hello, If you are using require.js, then you should use AMD way: require('delorean.js', function (DeLorean) {
var Flux = DeLorean.Flux;
// ...
}); |
Hey thanks for your quick reply! As I understand it both methods are equal, hence I get the same error when I use the AMD way as well.. Thanks! |
I'm going to test it and fix! :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using delorean with require.js - the preferred way of using flight.js - via
var Flux = require('delorean').Flux
I get
Uncaught TypeError: undefined is not a function
in delorean.js:105.Thanks for help and thanks for the great job!
The text was updated successfully, but these errors were encountered: