-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-main.js
62 lines (60 loc) · 2.7 KB
/
test-main.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// Generated by CoffeeScript 1.4.0
(function() {
(function() {
return require.config({
paths: {
jquery: "public/scripts/libs/jquery-1.7.1",
jqueryUI: "public/scripts/libs/jquery-ui-1.8.18.custom.min",
underscore: "public/scripts/libs/underscore",
backbone: "public/scripts/libs/backbone",
handlebars: "public/scripts/libs/handlebars",
bootstrap: "public/scripts/libs/bootstrap/js/bootstrap",
marionette: "public/scripts/libs/backbone.marionette",
modelbinder: "public/scripts/ibs/backbone.modelbinder",
validation: "public/scripts/libs/backbone.validation",
jqueryQtip: "public/scripts/libs/jquery.qtip",
select2: "public/scripts/libs/select2",
utils: "public/scripts/utils",
admin_navigation: "public/scripts/templates/tmpl.admin.navigation",
admin_layout: "public/scripts/templates/tmpl.admin.layout",
employee_department_header: "public/scripts/templates/tmpl.employee.department.header",
employee_list_empty: "public/scripts/templates/tmpl.employee.list.empty",
employee_item: "public/scripts/templates/tmpl.employee.item",
employee_maintenance: "public/scripts/templates/tmpl.employee.maintenance",
employee_navigation: "public/scripts/templates/tmpl.employee.navigation",
employee_layout: "public/scripts/templates/tmpl.employees.layout",
employee_remove_modal: "public/scripts/templates/tmpl.employee.remove.modal",
department_grid_header: "public/scripts/templates/tmpl.department.grid.header",
department_item: "public/scripts/templates/tmpl.department.item",
department_maintenance: "public/scripts/templates/tmpl.department.maintenance",
department_navigation: "public/scripts/templates/tmpl.department.navigation",
department_layout: "public/scripts/templates/tmpl.department.layout",
shim: {
backbone: {
deps: ["underscore", "jquery"],
exports: "Backbone"
},
underscore: {
exports: "_"
},
marionette: ["backbone"],
modelbinder: ["backbone"],
validation: ["backbone"],
jqueryUI: ["jquery"],
jqueryQtip: ["jquery"]
},
mocha: {
init: function() {
mocha.setup('bdd');
return mocha;
}
}
}
});
}, require(["require", "jquery", "underscore", "backbone", "marionette", "handlebars", "modelbinder", "validation"], function(require) {
mocha.setup("bdd");
return require(["tests/models/departmentTests", "tests/models/employeeTests"], function() {
return mocha.run();
});
})).call(this);
}).call(this);