Skip to content

Instantly share code, notes, and snippets.

@msssk
Created July 11, 2015 17:36
Show Gist options
  • Save msssk/25bcdb174158e9b379d2 to your computer and use it in GitHub Desktop.
Save msssk/25bcdb174158e9b379d2 to your computer and use it in GitHub Desktop.
Loading cldrjs with Dojo 1 and Dojo 2
<!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