-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathultimateFiles.js
204 lines (192 loc) · 6.07 KB
/
ultimateFiles.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
'use strict';
var ultimateFiles = {
'ultimateSrc': [
'src/minErr.js',
'src/Ultimate.js',
'src/loader.js',
'src/shallowCopy.js',
'src/stringify.js',
'src/UltimatePublic.js',
'src/jqLite.js',
'src/apis.js',
'src/auto/injector.js',
'src/ul/anchorScroll.js',
'src/ul/animate.js',
'src/ul/animateRunner.js',
'src/ul/animateCss.js',
'src/ul/browser.js',
'src/ul/cacheFactory.js',
'src/ul/compile.js',
'src/ul/controller.js',
'src/ul/document.js',
'src/ul/exceptionHandler.js',
'src/ul/forceReflow.js',
'src/ul/http.js',
'src/ul/httpBackend.js',
'src/ul/interpolate.js',
'src/ul/interval.js',
'src/ul/intervalFactory.js',
'src/ul/jsonpCallbacks.js',
'src/ul/locale.js',
'src/ul/location.js',
'src/ul/log.js',
'src/ul/parse.js',
'src/ul/q.js',
'src/ul/raf.js',
'src/ul/rootScope.js',
'src/ul/rootElement.js',
'src/ul/sanitizeUri.js',
'src/ul/sce.js',
'src/ul/sniffer.js',
'src/ul/taskTrackerFactory.js',
'src/ul/templateRequest.js',
'src/ul/testability.js',
'src/ul/timeout.js',
'src/ul/urlUtils.js',
'src/ul/window.js',
'src/ul/cookieReader.js',
'src/ul/filter.js',
'src/ul/filter/filter.js',
'src/ul/filter/filters.js',
'src/ul/filter/limitTo.js',
'src/ul/filter/orderBy.js',
'src/ul/directive/directives.js',
'src/ul/directive/a.js',
'src/ul/directive/attrs.js',
'src/ul/directive/form.js',
'src/ul/directive/input.js',
'src/ul/directive/ngBind.js',
'src/ul/directive/ngChange.js',
'src/ul/directive/ngClass.js',
'src/ul/directive/ngCloak.js',
'src/ul/directive/ngController.js',
'src/ul/directive/ngCsp.js',
'src/ul/directive/ngEventDirs.js',
'src/ul/directive/ngIf.js',
'src/ul/directive/ngInclude.js',
'src/ul/directive/ngInit.js',
'src/ul/directive/ngList.js',
'src/ul/directive/ngModel.js',
'src/ul/directive/ngModelOptions.js',
'src/ul/directive/ngNonBindable.js',
'src/ul/directive/ngOptions.js',
'src/ul/directive/ngPluralize.js',
'src/ul/directive/ngRef.js',
'src/ul/directive/ngRepeat.js',
'src/ul/directive/ngShowHide.js',
'src/ul/directive/ngStyle.js',
'src/ul/directive/ngSwitch.js',
'src/ul/directive/ngTransclude.js',
'src/ul/directive/script.js',
'src/ul/directive/select.js',
'src/ul/directive/validators.js',
'src/ultimate.bind.js',
'src/publishExternalApis.js',
'src/ulLocale/ultimate-locale_en-us.js'
],
'ultimateLoader': [
'src/stringify.js',
'src/minErr.js',
'src/loader.js'
],
'angularModules': {
'ngAnimate': [
'src/ulAnimate/shared.js',
'src/ulAnimate/rafScheduler.js',
'src/ulAnimate/animateChildrenDirective.js',
'src/ulAnimate/animateCss.js',
'src/ulAnimate/animateCssDriver.js',
'src/ulAnimate/animateJs.js',
'src/ulAnimate/animateJsDriver.js',
'src/ulAnimate/animateQueue.js',
'src/ulAnimate/animateCache.js',
'src/ulAnimate/animation.js',
'src/ulAnimate/ngAnimateSwap.js',
'src/ulAnimate/module.js'
],
'ngCookies': [
'src/ulCookies/cookies.js',
'src/ulCookies/cookieWriter.js'
],
'ngMessageFormat': [
'src/ulMessageFormat/messageFormatCommon.js',
'src/ulMessageFormat/messageFormatSelector.js',
'src/ulMessageFormat/messageFormatInterpolationParts.js',
'src/ulMessageFormat/messageFormatParser.js',
'src/ulMessageFormat/messageFormatService.js'
],
'ngMessages': [
'src/ulMessages/messages.js'
],
'ngParseExt': [
'src/ulParseExt/ucd.js',
'src/ulParseExt/module.js'
],
'ngResource': [
'src/ulResource/resource.js'
],
'ngRoute': [
'src/shallowCopy.js',
'src/routeToRegExp.js',
'src/ulRoute/route.js',
'src/ulRoute/routeParams.js',
'src/ulRoute/directive/ngView.js'
],
'ngSanitize': [
'src/ulSanitize/sanitize.js',
'src/ulSanitize/filter/linky.js'
],
'ngMock': [
'src/routeToRegExp.js',
'src/ulMock/angular-mocks.js',
'src/ulMock/browserTrigger.js'
],
'ngTouch': [
'src/ulTouch/touch.js',
'src/ulTouch/swipe.js',
'src/ulTouch/directive/ngSwipe.js'
],
'ngAria': [
'src/ulAria/aria.js'
]
}
};
ultimateFiles['angularSrcModuleNgAnimate'] = ultimateFiles['angularModules']['ngAnimate'];
ultimateFiles['angularSrcModuleNgAria'] = ultimateFiles['angularModules']['ngAria'];
ultimateFiles['angularSrcModuleNgCookies'] = ultimateFiles['angularModules']['ngCookies'];
ultimateFiles['angularSrcModuleNgMessageFormat'] = ultimateFiles['angularModules']['ngMessageFormat'];
ultimateFiles['angularSrcModuleNgMessages'] = ultimateFiles['angularModules']['ngMessages'];
ultimateFiles['angularSrcModuleNgResource'] = ultimateFiles['angularModules']['ngResource'];
ultimateFiles['angularSrcModuleNgRoute'] = ultimateFiles['angularModules']['ngRoute'];
ultimateFiles['angularSrcModuleNgSanitize'] = ultimateFiles['angularModules']['ngSanitize'];
ultimateFiles['angularSrcModuleNgTouch'] = ultimateFiles['angularModules']['ngTouch'];
ultimateFiles['angularSrcModules'] = [].concat(
ultimateFiles['angularModules']['ngAnimate'],
ultimateFiles['angularModules']['ngMessageFormat'],
ultimateFiles['angularModules']['ngMessages'],
ultimateFiles['angularModules']['ngCookies'],
ultimateFiles['angularModules']['ngResource'],
ultimateFiles['angularModules']['ngRoute'],
ultimateFiles['angularModules']['ngSanitize'],
ultimateFiles['angularModules']['ngMock'],
ultimateFiles['angularModules']['ngTouch'],
ultimateFiles['angularModules']['ngAria']
);
if (exports) {
exports.files = ultimateFiles;
exports.mergeFilesFor = function() {
var files = [];
Array.prototype.slice.call(arguments, 0).forEach(function(filegroup) {
ultimateFiles[filegroup].forEach(function(file) {
// replace @ref
var match = file.match(/^@(.*)/);
if (match) {
files = files.concat(ultimateFiles[match[1]]);
} else {
files.push(file);
}
});
});
return files;
};
}