This repository has been archived by the owner on Oct 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 146
Using angular-spinner with requirejs custom config #61
Comments
We have the same issue. Until v0.6.x we worked successfully with
After updating to v0.7.0 the browser tries to load
does not change anything. I guess if you require something which ends with |
I've just sent a pull request #63 |
Can you please check if the following version does the trick for you? Thanks! |
It works! Thank you very much! |
Excellent, thanks for the feedback! |
Yes, it works! Thanks a lot! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using requirejs to load angular and angular-spinner and I cannot use a custom path configuration. I think that it's because it's required under the name 'spin.js' (using a dot) in the line 116:
define(['angular', 'spin.js'], factory);
I'm not an expert using requirejs, but it seems that names with dots cannot be aliased. I'm trying to use a config like this:
But it does not work. If I just change line 116 to
define(['angular', 'spin'], factory);
, and then configure my path as'spin': '../vendor/spin.js/spin.min'
, then everything works at expected.What do you think? Should it be changed?
The text was updated successfully, but these errors were encountered: