Skip to content

refactor(AMD/CommonJS exported module): Export module name #360

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

Merged
merged 1 commit into from
Jun 30, 2016

Conversation

gaelollivier
Copy link
Contributor

When the module is imported using AMD/CommonJS, it is expected to expose its name instead of the
Angular module object. This is because angular.module() expects the dependencies as string instead
of actual module objects.

Fix #326

Breaking change: code that relies on the module object to be exported (accessing the name
via .name for example) will break, since the name is now directly returned.

… module object

When the module is imported using AMD/CommonJS, it is expected to expose its name instead of the
Angular module object. This is because angular.module() expects the dependencies as string instead
of actual module objects.

Fix angular-slider#326. Breaking change: code that relies on the module object to be exported (accessing the name
via `.name` for example) will break, since the name is now directly returned.
@codecov-io
Copy link

Current coverage is 100%

Merging #360 into master will not change coverage

@@           master   #360   diff @@
====================================
  Files           1      1          
  Lines         811    811          
  Methods         0      0          
  Messages        0      0          
  Branches        0      0          
====================================
  Hits          811    811          
  Misses          0      0          
  Partials        0      0          

Powered by Codecov. Last updated by 6e8b022...fad069d

@ValentinH ValentinH merged commit fad069d into angular-slider:master Jun 30, 2016
@ValentinH
Copy link
Member

👍

@ValentinH
Copy link
Member

Released under 5.0 version ;)

@gaelollivier
Copy link
Contributor Author

Merci Valentin ! ;)

Thanks for being that reactive ! 👍

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.

3 participants