Skip to content

Commit

Permalink
Merge pull request #352 from jonahkirangi/already-loaded
Browse files Browse the repository at this point in the history
Remove Node Error Logging
  • Loading branch information
maggiepint committed Dec 23, 2016
2 parents 3e9abbf + f22020d commit e511cf0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moment-timezone.js
Expand Up @@ -19,10 +19,10 @@
"use strict";

// Do not load moment-timezone a second time.
if (moment.tz !== undefined) {
logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
return moment;
}
// if (moment.tz !== undefined) {
// logError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);
// return moment;
// }

var VERSION = "0.5.10",
zones = {},
Expand Down

0 comments on commit e511cf0

Please sign in to comment.