You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
956 B
35 lines
956 B
<html> |
|
<head> |
|
<script language="JavaScript" type="text/javascript"> |
|
// Dojo configuration |
|
djConfig = { |
|
compat: "0.2.2", |
|
isDebug: true |
|
}; |
|
</script> |
|
<script language="JavaScript" type="text/javascript" |
|
src="../../dojo.js"></script> |
|
<script language="JavaScript" type="text/javascript"> |
|
dojo.debug("Start compat calls."); |
|
dojo.hostenv.conditionalLoadModule({ |
|
common: ["dojo.lang"] |
|
}); |
|
|
|
dojo.hostenv.moduleLoaded("dojo.foobarCompat"); |
|
|
|
function init(){ |
|
dojo.hostenv.require("dojo.html"); |
|
dj_debug("The compat package for 0.2.2 loaded OK"); |
|
dojo.hostenv.byId("testTarget").innerHTML = "OK"; |
|
dojo.debug("End compat calls."); |
|
} |
|
|
|
dojo.addOnLoad(init); |
|
</script> |
|
</head> |
|
<body> |
|
<p>This page tests the loading and usage of the compatibility package. If there are no |
|
errors on the page, then that means the compatibility loading worked.</p> |
|
<p id="testTarget"></p> |
|
</body> |
|
</html>
|
|
|