mde / timezone-js

DEPRECATED: Timezone-enabled JavaScript Date object. Uses Olson zoneinfo files for timezone data.
824 stars 182 forks source link

timezoneJS.timezone.init() - str is not defined #12

Closed prasad83 closed 12 years ago

prasad83 commented 12 years ago
 timezoneJS.timezone.zoneFileBasePath = '/tz';
 timezoneJS.timezone.init();

Throws exception ...

 str is not defined
 if (_this.parseZones(str) && typeof opts.callback === 'function') {
prasad83 commented 12 years ago
function builtInLoadZoneFile(fileName, opts) {
...
success : function (str) { /* str should defined */
longlho commented 12 years ago

Workin on it!

longlho commented 12 years ago

Fixed it in my pull request.