Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(*): Cannot use angular-moment under webpack ([#108](#108))
Browse files Browse the repository at this point in the history
  • Loading branch information
urish committed Sep 15, 2015
1 parent 4170754 commit 8b34525
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.0.0-beta.2 - TBD

- Bugfix: Infinite digest loop when combining `am-time-ago` and `amTimezone` ([#178](https://github.com/urish/angular-moment/issues/178))
- Bugfix: Cannot use angular-moment under webpack ([#108](https://github.com/urish/angular-moment/issues/108))

## 1.0.0-beta.1 - 2015-09-14

Expand Down
2 changes: 1 addition & 1 deletion angular-moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@
if (typeof define === 'function' && define.amd) {
define(['angular', 'moment'], angularMoment);
} else if (typeof module !== 'undefined' && module && module.exports) {
angularMoment(angular, require('moment'));
angularMoment(require('angular'), require('moment'));
module.exports = 'angularMoment';
} else {
angularMoment(angular, (typeof global !== 'undefined' ? global : window).moment);
Expand Down
2 changes: 1 addition & 1 deletion angular-moment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8b34525

Please sign in to comment.