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

Commit

Permalink
Update to support Angular Core's style CommonJS standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanhealy committed Mar 24, 2015
1 parent 4ff33f0 commit 46a1a5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions angular-moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@
define(['angular', 'moment'], angularMoment);
} else if (typeof module !== 'undefined' && module && module.exports) {
angularMoment(angular, require('moment'));
module.exports = 'angularMoment';
} else {
angularMoment(angular, 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.

2 changes: 1 addition & 1 deletion angular-moment.min.js.map

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

0 comments on commit 46a1a5c

Please sign in to comment.