Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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