dojo
Version:
Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.
30 lines (27 loc) • 609 B
HTML
<html>
<head>
<title>config has</title>
<script type="text/javascript">
var ready = 0;
var dojoConfig = {
someConfigSwitch: 0,
isDebug: 1,
has:{
"some-has-feature":5
},
packages: [
{ name: 'dojo', location : 'node_modules/dojo' }
],
callback: function () {
ready = 1;
}
};
</script>
<script type="text/javascript" src="../../../../dojo.js"
data-dojo-config="anotherConfigSwitch: 2"></script>
</head>
<body>
<h1>config has</h1>
</body>
</html>