You need to sign in or sign up before continuing.
Commit a2cbc3a6 authored by David Schnur's avatar David Schnur

Load timezones asynchronously.

This prevents the Chicago example from showing up blank.  The
alternative is to define a callback, but that's messier.
parent 23005fdd
......@@ -15,7 +15,7 @@
timezoneJS.timezone.zoneFileBasePath = "tz";
timezoneJS.timezone.defaultZoneFile = [];
timezoneJS.timezone.init();
timezoneJS.timezone.init({async: false});
var d = [
[Date.UTC(2011, 2, 12, 14, 0, 0), 28],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment