Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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