Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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