Skip to content
This repository has been archived by the owner on Oct 1, 2023. It is now read-only.

AMD compatible #11

Merged
merged 2 commits into from
Jun 6, 2014
Merged

AMD compatible #11

merged 2 commits into from
Jun 6, 2014

Conversation

floribon
Copy link
Contributor

@floribon floribon commented Apr 9, 2014

I've made some changes to get Spinner from an AMD injection instead of looking for it with angular's $window instance since spin.js doesn't put the class in the global window when RequireJS is used.

Support for spin.js when packaged through RequireJS and thus not available in the global window.

Support for spin.js when packaged through RequireJS and thus not
available in the global window.
@Boux
Copy link

Boux commented Jun 6, 2014

Yeah this does work for me, but it seems like you need to check if "define" is defined, because it doesn't seem to go through the CI tests otherwise

@urish urish merged commit fbb3eb4 into urish:master Jun 6, 2014
@urish
Copy link
Owner

urish commented Jun 6, 2014

Merged + fixed unit tests

@urish urish mentioned this pull request Aug 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants