timezone-js
timezone-js copied to clipboard
for jsonp load
<script type="text/javascript" src="./tzdata.js?jsonp=tzdata">/*var tzdata = {...preparse...};*/</script>
<script type="text/javascript" src="./timezone-js/src/date.js"></script>
<script>
timezoneJS.timezone.transport = function(o) {
var data = o.url == 'tzdata' ? tzdata : '';
if (o.async && typeof o.success == 'function') {
o.success(data)
};
return data;
};
var _tz = timezoneJS.timezone;
_tz.loadingScheme = _tz.loadingSchemes.MANUAL_LOAD;
_tz.loadZoneJSONData('tzdata', true);
</script>
We have a test suite, can you add it to our test suite?
not, I can not use Jake ~ https://gist.github.com/vflash/e75f00dcf2cb923b796d,
This has been around for a while -- should it be closed if not merged?
Hmm I haven't got time to write a test for it yet