Created
July 11, 2015 17:36
-
-
Save msssk/25bcdb174158e9b379d2 to your computer and use it in GitHub Desktop.
Loading cldrjs with Dojo 1 and Dojo 2
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
<!DOCTYPE HTML> | |
<html> | |
<body> | |
<script> | |
var dojoConfig = { | |
baseUrl: 'dojo2' | |
}; | |
</script> | |
<!-- - -> | |
<script src="loader/_build/src/loader.js"></script> | |
<!-- --> | |
<!-- --> | |
<script src="../dojo/dojo/dojo.js" data-dojo-config="async:1"></script> | |
<!-- --> | |
<script> | |
require([ | |
'cldrjs/dist/cldr' | |
], function (Cldr) { | |
console.dir(Cldr); | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment