Skip to content

Commit

Permalink
Remove Node error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahkirangi committed May 29, 2016
1 parent eda36cb commit f22020d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions moment-timezone.js
Original file line number Diff line number Diff line change
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.4",
zones = {},
Expand Down

0 comments on commit f22020d

Please sign in to comment.