Skip to content

Conversation

@craigcabrey
Copy link
Contributor

index.js was presumably added to support CommonJS syntax; however, package.json was not updated to point at this file. Thus, the name of the module was not being exported correctly if one were to require() the package in their angular.module list.

This PR fixes that.

michaelbromley added a commit that referenced this pull request Dec 10, 2015
Use index.js as npm package entry point
@michaelbromley michaelbromley merged commit cf5aef5 into michaelbromley:master Dec 10, 2015
@michaelbromley
Copy link
Owner

Thanks!

@craigcabrey
Copy link
Contributor Author

Thanks for accepting the patch! Can you make a new release with the changes?

@michaelbromley
Copy link
Owner

Ok - just done and published 0.9.3 to npm!

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

Successfully merging this pull request may close these issues.

2 participants