We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am getting the following requirejs error when loading this library
http://requirejs.org/docs/errors.html#notloaded
I even tried using the shim config and received the same error
shim: "momentrange": deps: ["moment"]
Anyone else running into this problem?
The text was updated successfully, but these errors were encountered:
What does your network panel look like? Does it have a 404 request?
Is your file at your baseUrl + /momentrange.js?
baseUrl
/momentrange.js
Is moment.js at baseUrl + /moment.js?
moment.js
/moment.js
Maybe it'd help to still export moment from the shim?
moment
A little more debug info is probably what we'd really need.
Sorry, something went wrong.
Ah looks like @timmywil tracked it down to some require cross over:
require
Line 2 should probably be:
if require? and !require.amd
https://github.com/gf3/moment-range/blob/master/src/moment-range.coffee#L2
02197e0
No branches or pull requests
I am getting the following requirejs error when loading this library
http://requirejs.org/docs/errors.html#notloaded
I even tried using the shim config and received the same error
Anyone else running into this problem?
The text was updated successfully, but these errors were encountered: