-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.js
41 lines (41 loc) · 2.15 KB
/
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
require.config({
baseUrl: "",
paths: {
"jquery": "bower_components/jquery/jquery",
"jquery.form": "bower_components/jquery-form/jquery.form",
"patterns": "bower_components/patternslib/bundle",
"pat-compat": "bower_components/patternslib/src/core/compat",
"logging": "bower_components/logging/src/logging",
"pat-compat": "bower_components/patternslib/src/core/compat",
"pat-jquery-ext": "bower_components/patternslib/src/core/jquery-ext",
"pat-logger": "bower_components/patternslib/src/core/logger",
"pat-parser": "bower_components/patternslib/src/core/parser",
"pat-registry": "bower_components/patternslib/src/core/registry",
"pat-utils": "bower_components/patternslib/src/core/utils",
"pat-inject": "bower_components/patternslib/src/pat/inject",
"pat-ajax": "bower_components/patternslib/src/pat/ajax",
"pat-remove": "bower_components/patternslib/src/pat/remove",
"pat-input-change-events": "bower_components/patternslib/src/lib/input-change-events",
"pat-htmlparser": "bower_components/patternslib/src/lib/htmlparser",
"pat-remove": "bower_components/patternslib/src/core/remove",
"pat-tooltip": "bower_components/patternslib/src/pat/tooltip",
"pat-checkedflag": "bower_components/patternslib/src/pat/checkedflag",
"pat-checklist": "bower_components/patternslib/src/pat/checklist",
"pat-autosubmit": "bower_components/patternslib/src/pat/autosubmit",
"moment": "bower_components/moment/moment",
"pat-tagger": "src/pat-tagger"
}
});
require([
"pat-registry",
"pat-tooltip",
"pat-checklist",
"pat-autosubmit",
"pat-inject",
"pat-checkedflag",
"pat-tagger"
], function(registry, colorchanger) {
window.patterns = registry;
registry.init();
return;
});