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

Commit

Permalink
Removed explicit module name for RequireJS (Issue 36)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamCarter committed Feb 17, 2015
1 parent 17c8a92 commit befccc7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion angular-moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
}

if (typeof define === 'function' && define.amd) {
define('angular-moment', ['angular', 'moment'], angularMoment);
define(['angular', 'moment'], angularMoment);
} else if (typeof module !== 'undefined' && module && module.exports) {
angularMoment(angular, require('moment'));
} else {
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 befccc7

Please sign in to comment.