Skip to content

Instantly share code, notes, and snippets.

@kriszyp
Created April 9, 2013 14:34
Show Gist options
  • Save kriszyp/5346164 to your computer and use it in GitHub Desktop.
Save kriszyp/5346164 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html>
<head>
<title>Dual Boot Test</title>
<style type="text/css">
</style>
<script type="text/javascript" src="/dev/dojo-release-1.3.3-src/dojo/dojo.js"></script>
<script>
console.log("dojo 1.3", dojo);
oldDojo = dojo;
djConfig.async = true;
djConfig.baseUrl = "/packages/dojo/";
djConfig.paths = {
"ntrs": "/customers/northerntrust/dist"
};
</script>
<script type="text/javascript" src="/packages/dojo/dojo.js"
data-dojo-config="parseOnLoad: true, async: true, extraLocale: ['en-us', 'ar-sy', 'es-es', 'zh-cn']"></script>
<script type="text/javascript">
require(["ntrs/ecp/widget/titlePane/ConsolidationTitlePane"], function(ConsolidationTitlePane){
console.log("ConsolidationTitlePane", ConsolidationTitlePane);
new ConsolidationTitlePane({title:"Title", content:"Content"}, "titlePane");
}); // scan page for widgets
</script>
</head>
<body>
<h1 class="testTitle">Dual Dojo Test</h1>
before
<div id="titlePane" data-dojo-type="ntrs.ecp.widget.titlePane.ConsolidationTitlePane" data-dojo-props="title:'Title', content:'Content'" onChange="myHandler(this.id,arguments[0])" lang="en-us"></div>
after
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment