summaryrefslogtreecommitdiffstats
path: root/qunit_main.js
blob: f9c0a5246c06a80a2c745fe23a44cf5406633213 (plain)
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

requirejs.config({
	paths: {
		jQuery: 'libs/jquery',
		Handlebars: 'libs/handlebars-1.0.0.beta.6',
		HandlebarsHelpers: 'ddl_builder/handlebarsHelpers',
		DateFormat: 'libs/date.format',
		DDLBuilder: 'ddl_builder',
		QUnit: 'libs/qunit-1.10.0'
	},
	
    shim: {
        jQuery: {
			exports: '$'
		},
		Handlebars: {
			exports: 'Handlebars'
		},
		DateFormat: {
			exports: 'dateFormat'
		},
		QUnit: {
			exports: function () { return { "test": test, "equal": equal, "ok": ok } }
		}
	}
	
});	

require(["jQuery", "DDLBuilder/qunit/main"], function () {});