Last active
December 21, 2015 02:08
-
-
Save monteslu/6232561 to your computer and use it in GitHub Desktop.
loader
This file contains hidden or 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 = { | |
baseUrl: './js', | |
parseOnLoad: false, | |
defaultDuration:1, | |
packages: [{ | |
name: "app", //my own stuff | |
location: "app" | |
}], | |
deps: [ ], // And array of modules to load on "boot" | |
locale: 'en-us' | |
}; | |
</script> | |
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.9.1/dojo/dojo.js"></script> | |
<script> | |
require(['dojox/encoding/digests/MD5'], | |
function(md5){ | |
console.log(md5('Lou')); | |
} | |
); | |
</script> | |
</head> | |
<body> | |
<div id="hello">hi</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment