Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 233 lines (209 sloc) 5.953 kb
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
1 angularFiles = {
2 'angularSrc': [
3 'src/Angular.js',
5143e7b Miško Hevery feat(module): new module loader
mhevery authored
4 'src/loader.js',
9555511 Miško Hevery style(angularPublic): move public export definition to AnuglarPublic.js
mhevery authored
5 'src/AngularPublic.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
6 'src/jqLite.js',
7 'src/apis.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
8
9 'src/auto/injector.js',
10
11 'src/ng/anchorScroll.js',
12 'src/ng/browser.js',
13 'src/ng/cacheFactory.js',
beea3a4 Igor Minar style($compile): rename compiler.js to compile.js
IgorMinar authored
14 'src/ng/compile.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
15 'src/ng/controller.js',
16 'src/ng/defer.js',
17 'src/ng/document.js',
18 'src/ng/exceptionHandler.js',
19 'src/ng/interpolate.js',
20 'src/ng/location.js',
21 'src/ng/log.js',
22 'src/ng/parse.js',
23 'src/ng/q.js',
24 'src/ng/route.js',
25 'src/ng/routeParams.js',
26 'src/ng/rootScope.js',
27 'src/ng/sniffer.js',
28 'src/ng/window.js',
29 'src/ng/http.js',
30 'src/ng/httpBackend.js',
31 'src/ng/locale.js',
4511d39 Igor Minar feat($timeout): add $timeout service that supersedes $defer
IgorMinar authored
32 'src/ng/timeout.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
33
34 'src/ng/filter.js',
35 'src/ng/filter/filter.js',
36 'src/ng/filter/filters.js',
37 'src/ng/filter/limitTo.js',
38 'src/ng/filter/orderBy.js',
39
40 'src/ng/directive/directives.js',
41 'src/ng/directive/a.js',
02cf958 Vojta Jina chore(directive): correct file names for booleanAttrs
vojtajina authored
42 'src/ng/directive/booleanAttrs.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
43 'src/ng/directive/form.js',
44 'src/ng/directive/input.js',
45 'src/ng/directive/ngBind.js',
46 'src/ng/directive/ngClass.js',
47 'src/ng/directive/ngCloak.js',
48 'src/ng/directive/ngController.js',
2b87c81 Igor Minar feat($parse): CSP compatibility
IgorMinar authored
49 'src/ng/directive/ngCsp.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
50 'src/ng/directive/ngEventDirs.js',
51 'src/ng/directive/ngInclude.js',
52 'src/ng/directive/ngInit.js',
53 'src/ng/directive/ngNonBindable.js',
54 'src/ng/directive/ngPluralize.js',
55 'src/ng/directive/ngRepeat.js',
56 'src/ng/directive/ngShowHide.js',
57 'src/ng/directive/ngStyle.js',
58 'src/ng/directive/ngSwitch.js',
59 'src/ng/directive/ngTransclude.js',
60 'src/ng/directive/ngView.js',
61 'src/ng/directive/script.js',
62 'src/ng/directive/select.js',
aa02534 Miško Hevery bug(ie8 docs): docs now work on ie8
mhevery authored
63 'src/ng/directive/style.js'
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
64 ],
65
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
66 'angularSrcModules': [
7b22d59 Miško Hevery chore(ngCookies): moved to module
mhevery authored
67 'src/ngCookies/cookies.js',
798bca6 Miško Hevery chore(resource): moved to module
mhevery authored
68 'src/ngResource/resource.js',
5bcd719 Vojta Jina chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a mod...
vojtajina authored
69 'src/ngSanitize/sanitize.js',
70 'src/ngSanitize/directive/ngBindHtml.js',
71 'src/ngSanitize/filter/linky.js',
8e26750 Miško Hevery chore(docs): re-skin main documentation
mhevery authored
72 'src/ngMock/angular-mocks.js',
73
74 'src/bootstrap/bootstrap.js'
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
75 ],
76
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
77 'angularScenario': [
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
78 'src/ngScenario/Scenario.js',
79 'src/ngScenario/Application.js',
80 'src/ngScenario/Describe.js',
81 'src/ngScenario/Future.js',
82 'src/ngScenario/ObjectModel.js',
83 'src/ngScenario/Describe.js',
84 'src/ngScenario/Runner.js',
85 'src/ngScenario/SpecRunner.js',
86 'src/ngScenario/dsl.js',
87 'src/ngScenario/matchers.js',
88 'src/ngScenario/output/Html.js',
89 'src/ngScenario/output/Json.js',
90 'src/ngScenario/output/Xml.js',
91 'src/ngScenario/output/Object.js'
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
92 ],
93
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
94 'angularTest': [
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
95 'test/testabilityPatch.js',
2636105 Vojta Jina feat(matchers): extract jasmine matchers into separate file for future r...
vojtajina authored
96 'test/matchers.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
97 'test/ngScenario/*.js',
98 'test/ngScenario/output/*.js',
99 'test/ngScenario/jstd-scenario-adapter/*.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
100 'test/*.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
101 'test/auto/*.js',
8e26750 Miško Hevery chore(docs): re-skin main documentation
mhevery authored
102 'test/bootstrap/*.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
103 'test/ng/*.js',
104 'test/ng/directive/*.js',
105 'test/ng/filter/*.js',
7b22d59 Miško Hevery chore(ngCookies): moved to module
mhevery authored
106 'test/ngCookies/*.js',
798bca6 Miško Hevery chore(resource): moved to module
mhevery authored
107 'test/ngResource/*.js',
5bcd719 Vojta Jina chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a mod...
vojtajina authored
108 'test/ngSanitize/*.js',
109 'test/ngSanitize/directive/*.js',
110 'test/ngSanitize/filter/*.js',
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
111 'test/ngMock/*.js'
112 ],
113
114 'jstd': [
115 'lib/jasmine/jasmine.js',
116 'lib/jasmine-jstd-adapter/JasmineAdapter.js',
117 'lib/jquery/jquery.js',
118 'test/jquery_remove.js',
119 '@angularSrc',
120 'src/publishExternalApis.js',
121 '@angularSrcModules',
122 '@angularScenario',
123 'src/ngScenario/jstd-scenario-adapter/Adapter.js',
124 '@angularTest',
125 'example/personalLog/*.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
126 'example/personalLog/test/*.js'
127 ],
128
129 'jstdExclude': [
130 'test/jquery_alias.js',
131 'src/angular-bootstrap.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
132 'src/ngScenario/angular-bootstrap.js'
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
133 ],
134
135 'jstdScenario': [
136 'build/angular-scenario.js',
137 'build/jstd-scenario-adapter-config.js',
138 'build/jstd-scenario-adapter.js',
139 'build/docs/docs-scenario.js'
140 ],
141
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
142 "jstdModules": [
ddf6f11 Vojta Jina test(mocks): test mocks with compiled angular
vojtajina authored
143 'lib/jasmine/jasmine.js',
144 'lib/jasmine-jstd-adapter/JasmineAdapter.js',
145 'build/angular.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
146 'src/ngMock/angular-mocks.js',
7b22d59 Miško Hevery chore(ngCookies): moved to module
mhevery authored
147 'src/ngCookies/cookies.js',
798bca6 Miško Hevery chore(resource): moved to module
mhevery authored
148 'src/ngResource/resource.js',
5bcd719 Vojta Jina chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a mod...
vojtajina authored
149 'src/ngSanitize/sanitize.js',
150 'src/ngSanitize/directive/ngBindHtml.js',
151 'src/ngSanitize/filter/linky.js',
ddf6f11 Vojta Jina test(mocks): test mocks with compiled angular
vojtajina authored
152 'test/matchers.js',
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
153 'test/ngMock/*.js',
7b22d59 Miško Hevery chore(ngCookies): moved to module
mhevery authored
154 'test/ngCookies/*.js',
5bcd719 Vojta Jina chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a mod...
vojtajina authored
155 'test/ngResource/*.js',
156 'test/ngSanitize/*.js',
157 'test/ngSanitize/directive/*.js',
158 'test/ngSanitize/filter/*.js'
ddf6f11 Vojta Jina test(mocks): test mocks with compiled angular
vojtajina authored
159 ],
160
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
161 'jstdPerf': [
ab5df20 Vojta Jina chore(libs): update libs (jasmine, jstd, jasmine-jstd adapter)
vojtajina authored
162 'lib/jasmine/jasmine.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
163 'lib/jasmine-jstd-adapter/JasmineAdapter.js',
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
164 '@angularSrc',
165 '@angularSrcModules',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
166 'src/ngMock/angular-mocks.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
167 'perf/data/*.js',
168 'perf/testUtils.js',
169 'perf/*.js'
170 ],
171
172 'jstdPerfExclude': [
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
173 'src/ng/angular-bootstrap.js',
174 'src/ngScenario/angular-bootstrap.js'
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
175 ],
176
177 'jstdJquery': [
ab5df20 Vojta Jina chore(libs): update libs (jasmine, jstd, jasmine-jstd adapter)
vojtajina authored
178 'lib/jasmine/jasmine.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
179 'lib/jasmine-jstd-adapter/JasmineAdapter.js',
a2a830e Igor Minar feat (jquery): upgrade everything to jQuery 1.6.4
IgorMinar authored
180 'lib/jquery/jquery.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
181 'test/jquery_alias.js',
182 '@angularSrc',
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
183 'src/publishExternalApis.js',
184 '@angularSrcModules',
185 '@angularScenario',
186 'src/ngScenario/jstd-scenario-adapter/Adapter.js',
187 '@angularTest',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
188 'example/personalLog/*.js',
7b22d59 Miško Hevery chore(ngCookies): moved to module
mhevery authored
189
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
190 'example/personalLog/test/*.js'
191 ],
192
193 'jstdJqueryExclude': [
194 'src/angular-bootstrap.js',
2430f52 Miško Hevery chore(module): move files around in preparation for more modules
mhevery authored
195 'src/ngScenario/angular-bootstrap.js',
a13653c refactor(angular): externalize script load order into JSON
Di Peng authored
196 'test/jquery_remove.js'
197 ]
1d966f8 Vojta Jina style(angularFiles): just missing semi-colon and extra comma
vojtajina authored
198 };
292a5da Miško Hevery chore(slim-jim) add configuration
mhevery authored
199
200 // Execute only in slim-jim
201 if (typeof JASMINE_ADAPTER !== 'undefined') {
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
202 // Testacular config
203 var mergedFiles = [];
204 angularFiles.jstd.forEach(function(file) {
205 // replace @ref
206 var match = file.match(/^\@(.*)/);
207 if (match) {
208 var deps = angularFiles[match[1]];
209 if (!deps) {
210 console.log('No dependency:' + file)
211 }
212 mergedFiles = mergedFiles.concat(deps);
213 } else {
214 mergedFiles.push(file);
215 }
216 });
217
bbd3a3f Vojta Jina chore: Update slim-jim
vojtajina authored
218 files = [JASMINE, JASMINE_ADAPTER];
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
219
220 mergedFiles.forEach(function(file){
221 if (/jstd|jasmine/.test(file)) return;
222 files.push(file);
292a5da Miško Hevery chore(slim-jim) add configuration
mhevery authored
223 });
224
8218c4b Miško Hevery chore(Rakefile): get ready for modules
mhevery authored
225
292a5da Miško Hevery chore(slim-jim) add configuration
mhevery authored
226 exclude = angularFiles.jstdExclude;
227
228 autoWatch = true;
229 autoWatchInterval = 1;
bbd3a3f Vojta Jina chore: Update slim-jim
vojtajina authored
230 logLevel = LOG_INFO;
292a5da Miško Hevery chore(slim-jim) add configuration
mhevery authored
231 logColors = true;
232 }
Something went wrong with that request. Please try again.