Created
April 14, 2014 16:07
-
-
Save ktiedt/10661577 to your computer and use it in GitHub Desktop.
loading timezone-js with dojo loadaer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
dojoConfig = { | |
packages: [ | |
{ | |
"name": "timezoneJS", | |
"location": "../timezone-js/src", | |
"main": "date" | |
} | |
] | |
} | |
</script> | |
<script src="repos/dojo/dojo.js"></script> | |
<script> | |
require(["timezoneJS"], function(tz) { | |
console.log("tz: ", tz); | |
}); | |
</script> | |
</head> | |
<body> | |
A test | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment