Created
January 15, 2012 14:20
-
-
Save rbackhouse/1615991 to your computer and use it in GitHub Desktop.
HTML Resource with script embedded zazl reference
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<style type="text/css"> | |
@import "dojo/resources/dojo.css"; | |
@import "dijit/themes/claro/claro.css"; | |
</style> | |
<script type="text/javascript"> | |
var dojoConfig = { | |
locale : __localePlaceholder__, | |
has:{ | |
"dojo-1x-base":1 | |
} | |
}; | |
</script> | |
<script type="text/javascript"> | |
zazl({ | |
packages: [ | |
{ | |
name: 'dojo', | |
location: 'lib/dojo', | |
main:'main' | |
}, | |
{ | |
name: 'dijit', | |
location: 'lib/dijit', | |
main:'main' | |
}, | |
{ | |
name: 'dojox', | |
location: 'lib/dojox', | |
main:'main' | |
} | |
] | |
}, | |
["amdtest/Calendar"], | |
function(calendar) { | |
console.log("done"); | |
}); | |
</script> | |
</head> | |
<body class="claro"> | |
<div id="calendarNode"></div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment