Skip to content

Commit

Permalink
Merge pull request #25 from spmason/patch-1
Browse files Browse the repository at this point in the history
Fix for moment not working under browserify
  • Loading branch information
timrwood committed Oct 18, 2011
2 parents bc711fe + 1299b72 commit ef1d150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
var moment,
round = Math.round,
languages = {},
isNode = (typeof window === 'undefined' && typeof module !== 'undefined'),
isNode = (typeof module !== 'undefined'),
paramsToParse = 'months|monthsShort|weekdays|weekdaysShort|relativeTime|ordinal'.split('|'),
i,
shortcuts = 'Month|Date|Hours|Minutes|Seconds'.split('|');
Expand Down

0 comments on commit ef1d150

Please sign in to comment.