-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapplication.js
30 lines (26 loc) · 906 Bytes
/
application.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* Sample startup script for a UOW application.
*
* Import dojo modules or your own before you use them; remove these if you
* replace the default layout.
*
* Copyright UNC Open Web Team 2010. All Rights Reserved.
*/
dojo.provide('tht.Main');
dojo.require('dojo.parser');
dojo.require('dijit.layout.BorderContainer');
dojo.require('dijit.layout.ContentPane');
dojo.require('dojo.hash');
// adjust the namespace if you changed it in index.html; this widget serves
// as our main controller to do stuff across the whole app and kick off the
// app when the page loads
dojo.declare('tht.Main', null, {
constructor: function() {
}
});
dojo.ready(function() {
// build our main widget when everything is ready; adjust the name here
// if you change it above but otherwise leave this alone and do all
// work in the widget above
var app = new tht.Main();
});