Skip to content

Commit

Permalink
Use correct module references
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Oct 19, 2011
1 parent 9643925 commit 1ee9b6d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion templates/Page.template
Expand Up @@ -2,8 +2,20 @@
<title>{{pageName}}</title>
<link rel="stylesheet" href="/public/css/common.css" />
<link rel="stylesheet" href="/public/css/wikiContent.css" />
<script>
// Configure RequireJS
require = {
baseUrl: "../packages/",
paths: {
example: "../public/js/"
}
};
</script>
<script src="/packages/requirejs/require.js"></script>
<script src="/packages/example/monitor.js"></script>
<script>
require(["example/monitor"]);
</script>

<body>
<div id="headerContainer"><span class="pageName">{{pageName}}<span></div>
<div id="content">
Expand Down

0 comments on commit 1ee9b6d

Please sign in to comment.