|
a13653c
Di Peng authored
|
||
| 1 | angularFiles = { | |
| 2 | 'angularSrc': [ | |
| 3 | 'src/Angular.js', | |
|
5143e7b
mhevery authored
|
||
| 4 | 'src/loader.js', | |
|
9555511
mhevery authored
|
||
| 5 | 'src/AngularPublic.js', | |
|
a13653c
Di Peng authored
|
||
| 6 | 'src/jqLite.js', | |
| 7 | 'src/apis.js', | |
|
2430f52
mhevery authored
|
||
| 8 | ||
| 9 | 'src/auto/injector.js', | |
| 10 | ||
| 11 | 'src/ng/anchorScroll.js', | |
|
0b6f1ce
mhevery authored
|
||
| 12 | 'src/ng/animation.js', | |
| 13 | 'src/ng/animator.js', | |
|
2430f52
mhevery authored
|
||
| 14 | 'src/ng/browser.js', | |
| 15 | 'src/ng/cacheFactory.js', | |
|
beea3a4
IgorMinar authored
|
||
| 16 | 'src/ng/compile.js', | |
|
2430f52
mhevery authored
|
||
| 17 | 'src/ng/controller.js', | |
| 18 | 'src/ng/document.js', | |
| 19 | 'src/ng/exceptionHandler.js', | |
| 20 | 'src/ng/interpolate.js', | |
| 21 | 'src/ng/location.js', | |
| 22 | 'src/ng/log.js', | |
| 23 | 'src/ng/parse.js', | |
| 24 | 'src/ng/q.js', | |
| 25 | 'src/ng/route.js', | |
| 26 | 'src/ng/routeParams.js', | |
| 27 | 'src/ng/rootScope.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', | |
|
4511d39
IgorMinar authored
|
||
| 33 | 'src/ng/timeout.js', | |
|
2430f52
mhevery authored
|
||
| 34 | ||
| 35 | 'src/ng/filter.js', | |
| 36 | 'src/ng/filter/filter.js', | |
| 37 | 'src/ng/filter/filters.js', | |
| 38 | 'src/ng/filter/limitTo.js', | |
| 39 | 'src/ng/filter/orderBy.js', | |
| 40 | ||
| 41 | 'src/ng/directive/directives.js', | |
| 42 | 'src/ng/directive/a.js', | |
|
02cf958
vojtajina authored
|
||
| 43 | 'src/ng/directive/booleanAttrs.js', | |
|
2430f52
mhevery authored
|
||
| 44 | 'src/ng/directive/form.js', | |
| 45 | 'src/ng/directive/input.js', | |
| 46 | 'src/ng/directive/ngBind.js', | |
| 47 | 'src/ng/directive/ngClass.js', | |
| 48 | 'src/ng/directive/ngCloak.js', | |
| 49 | 'src/ng/directive/ngController.js', | |
|
2b87c81
IgorMinar authored
|
||
| 50 | 'src/ng/directive/ngCsp.js', | |
|
2430f52
mhevery authored
|
||
| 51 | 'src/ng/directive/ngEventDirs.js', | |
|
2f96fbd
OrenAvissar authored
|
||
| 52 | 'src/ng/directive/ngIf.js', | |
|
2430f52
mhevery authored
|
||
| 53 | 'src/ng/directive/ngInclude.js', | |
| 54 | 'src/ng/directive/ngInit.js', | |
| 55 | 'src/ng/directive/ngNonBindable.js', | |
| 56 | 'src/ng/directive/ngPluralize.js', | |
| 57 | 'src/ng/directive/ngRepeat.js', | |
| 58 | 'src/ng/directive/ngShowHide.js', | |
| 59 | 'src/ng/directive/ngStyle.js', | |
| 60 | 'src/ng/directive/ngSwitch.js', | |
| 61 | 'src/ng/directive/ngTransclude.js', | |
| 62 | 'src/ng/directive/ngView.js', | |
| 63 | 'src/ng/directive/script.js', | |
| 64 | 'src/ng/directive/select.js', | |
|
aa02534
mhevery authored
|
||
| 65 | 'src/ng/directive/style.js' | |
|
a13653c
Di Peng authored
|
||
| 66 | ], | |
| 67 | ||
|
8218c4b
mhevery authored
|
||
| 68 | 'angularSrcModules': [ | |
|
7b22d59
mhevery authored
|
||
| 69 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 70 | 'src/ngResource/resource.js', | |
|
5bcd719
vojtajina authored
|
||
| 71 | 'src/ngSanitize/sanitize.js', | |
| 72 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 73 | 'src/ngSanitize/filter/linky.js', | |
|
8e26750
mhevery authored
|
||
| 74 | 'src/ngMock/angular-mocks.js', | |
|
707c65d
|
||
| 75 | 'src/ngMobile/mobile.js', | |
| 76 | 'src/ngMobile/directive/ngClick.js', | |
|
5e0f876
Braden Shepherdson authored
|
||
| 77 | 'src/ngMobile/directive/ngSwipe.js', | |
| 78 | ||
|
2f571a9
matsko authored
|
||
| 79 | 'docs/components/bootstrap/bootstrap.js' | |
|
8218c4b
mhevery authored
|
||
| 80 | ], | |
| 81 | ||
|
a13653c
Di Peng authored
|
||
| 82 | 'angularScenario': [ | |
|
2430f52
mhevery authored
|
||
| 83 | 'src/ngScenario/Scenario.js', | |
|
5da6b12
IgorMinar authored
|
||
| 84 | 'src/ngScenario/browserTrigger.js', | |
|
2430f52
mhevery authored
|
||
| 85 | 'src/ngScenario/Application.js', | |
| 86 | 'src/ngScenario/Describe.js', | |
| 87 | 'src/ngScenario/Future.js', | |
| 88 | 'src/ngScenario/ObjectModel.js', | |
| 89 | 'src/ngScenario/Runner.js', | |
| 90 | 'src/ngScenario/SpecRunner.js', | |
| 91 | 'src/ngScenario/dsl.js', | |
| 92 | 'src/ngScenario/matchers.js', | |
| 93 | 'src/ngScenario/output/Html.js', | |
| 94 | 'src/ngScenario/output/Json.js', | |
| 95 | 'src/ngScenario/output/Xml.js', | |
| 96 | 'src/ngScenario/output/Object.js' | |
|
a13653c
Di Peng authored
|
||
| 97 | ], | |
| 98 | ||
|
8218c4b
mhevery authored
|
||
| 99 | 'angularTest': [ | |
|
a13653c
Di Peng authored
|
||
| 100 | 'test/testabilityPatch.js', | |
|
2636105
vojtajina authored
|
||
| 101 | 'test/matchers.js', | |
|
2430f52
mhevery authored
|
||
| 102 | 'test/ngScenario/*.js', | |
| 103 | 'test/ngScenario/output/*.js', | |
| 104 | 'test/ngScenario/jstd-scenario-adapter/*.js', | |
|
a13653c
Di Peng authored
|
||
| 105 | 'test/*.js', | |
|
2430f52
mhevery authored
|
||
| 106 | 'test/auto/*.js', | |
| 107 | 'test/ng/*.js', | |
| 108 | 'test/ng/directive/*.js', | |
| 109 | 'test/ng/filter/*.js', | |
|
7b22d59
mhevery authored
|
||
| 110 | 'test/ngCookies/*.js', | |
|
798bca6
mhevery authored
|
||
| 111 | 'test/ngResource/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 112 | 'test/ngSanitize/*.js', | |
| 113 | 'test/ngSanitize/directive/*.js', | |
| 114 | 'test/ngSanitize/filter/*.js', | |
|
707c65d
|
||
| 115 | 'test/ngMock/*.js', | |
|
2f571a9
matsko authored
|
||
| 116 | 'test/ngMobile/directive/*.js', | |
| 117 | 'docs/component-spec/bootstrap/*.js', | |
| 118 | 'docs/component-spec/*.js' | |
|
8218c4b
mhevery authored
|
||
| 119 | ], | |
| 120 | ||
| 121 | 'jstd': [ | |
| 122 | 'lib/jasmine/jasmine.js', | |
| 123 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
| 124 | 'lib/jquery/jquery.js', | |
| 125 | 'test/jquery_remove.js', | |
| 126 | '@angularSrc', | |
| 127 | 'src/publishExternalApis.js', | |
| 128 | '@angularSrcModules', | |
| 129 | '@angularScenario', | |
| 130 | 'src/ngScenario/jstd-scenario-adapter/Adapter.js', | |
| 131 | '@angularTest', | |
| 132 | 'example/personalLog/*.js', | |
|
a13653c
Di Peng authored
|
||
| 133 | 'example/personalLog/test/*.js' | |
| 134 | ], | |
| 135 | ||
| 136 | 'jstdExclude': [ | |
| 137 | 'test/jquery_alias.js', | |
| 138 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 139 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 140 | ], | |
| 141 | ||
| 142 | 'jstdScenario': [ | |
| 143 | 'build/angular-scenario.js', | |
| 144 | 'build/jstd-scenario-adapter-config.js', | |
| 145 | 'build/jstd-scenario-adapter.js', | |
| 146 | 'build/docs/docs-scenario.js' | |
| 147 | ], | |
| 148 | ||
|
8218c4b
mhevery authored
|
||
| 149 | "jstdModules": [ | |
|
ddf6f11
vojtajina authored
|
||
| 150 | 'lib/jasmine/jasmine.js', | |
| 151 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
| 152 | 'build/angular.js', | |
|
2430f52
mhevery authored
|
||
| 153 | 'src/ngMock/angular-mocks.js', | |
|
7b22d59
mhevery authored
|
||
| 154 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 155 | 'src/ngResource/resource.js', | |
|
707c65d
|
||
| 156 | 'src/ngMobile/mobile.js', | |
| 157 | 'src/ngMobile/directive/ngClick.js', | |
|
5e0f876
Braden Shepherdson authored
|
||
| 158 | 'src/ngMobile/directive/ngSwipe.js', | |
|
5bcd719
vojtajina authored
|
||
| 159 | 'src/ngSanitize/sanitize.js', | |
| 160 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 161 | 'src/ngSanitize/filter/linky.js', | |
|
5da6b12
IgorMinar authored
|
||
| 162 | 'src/ngScenario/browserTrigger.js', | |
|
ddf6f11
vojtajina authored
|
||
| 163 | 'test/matchers.js', | |
|
5da6b12
IgorMinar authored
|
||
| 164 | 'test/testabilityPatch.js', | |
|
8218c4b
mhevery authored
|
||
| 165 | 'test/ngMock/*.js', | |
|
7b22d59
mhevery authored
|
||
| 166 | 'test/ngCookies/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 167 | 'test/ngResource/*.js', | |
| 168 | 'test/ngSanitize/*.js', | |
| 169 | 'test/ngSanitize/directive/*.js', | |
|
707c65d
|
||
| 170 | 'test/ngSanitize/filter/*.js', | |
| 171 | 'test/ngMobile/directive/*.js' | |
|
ddf6f11
vojtajina authored
|
||
| 172 | ], | |
| 173 | ||
|
a13653c
Di Peng authored
|
||
| 174 | 'jstdPerf': [ | |
|
ab5df20
vojtajina authored
|
||
| 175 | 'lib/jasmine/jasmine.js', | |
|
a13653c
Di Peng authored
|
||
| 176 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
|
8218c4b
mhevery authored
|
||
| 177 | '@angularSrc', | |
| 178 | '@angularSrcModules', | |
|
2430f52
mhevery authored
|
||
| 179 | 'src/ngMock/angular-mocks.js', | |
|
a13653c
Di Peng authored
|
||
| 180 | 'perf/data/*.js', | |
| 181 | 'perf/testUtils.js', | |
| 182 | 'perf/*.js' | |
| 183 | ], | |
| 184 | ||
| 185 | 'jstdPerfExclude': [ | |
|
2430f52
mhevery authored
|
||
| 186 | 'src/ng/angular-bootstrap.js', | |
| 187 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 188 | ], | |
| 189 | ||
| 190 | 'jstdJquery': [ | |
|
ab5df20
vojtajina authored
|
||
| 191 | 'lib/jasmine/jasmine.js', | |
|
a13653c
Di Peng authored
|
||
| 192 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
|
a2a830e
IgorMinar authored
|
||
| 193 | 'lib/jquery/jquery.js', | |
|
a13653c
Di Peng authored
|
||
| 194 | 'test/jquery_alias.js', | |
| 195 | '@angularSrc', | |
|
8218c4b
mhevery authored
|
||
| 196 | 'src/publishExternalApis.js', | |
| 197 | '@angularSrcModules', | |
| 198 | '@angularScenario', | |
| 199 | 'src/ngScenario/jstd-scenario-adapter/Adapter.js', | |
| 200 | '@angularTest', | |
|
a13653c
Di Peng authored
|
||
| 201 | 'example/personalLog/*.js', | |
|
7b22d59
mhevery authored
|
||
| 202 | ||
|
a13653c
Di Peng authored
|
||
| 203 | 'example/personalLog/test/*.js' | |
| 204 | ], | |
| 205 | ||
| 206 | 'jstdJqueryExclude': [ | |
| 207 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 208 | 'src/ngScenario/angular-bootstrap.js', | |
|
a13653c
Di Peng authored
|
||
| 209 | 'test/jquery_remove.js' | |
| 210 | ] | |
|
1d966f8
vojtajina authored
|
||
| 211 | }; | |
|
292a5da
mhevery authored
|
||
| 212 | ||
|
9d168f0
IgorMinar authored
|
||
| 213 | if (exports) { | |
| 214 | exports.files = angularFiles | |
| 215 | exports.mergeFiles = function mergeFiles() { | |
| 216 | var files = []; | |
| 217 | ||
| 218 | [].splice.call(arguments, 0).forEach(function(file) { | |
|
c2e215f
vojtajina authored
|
||
| 219 | if (file.match(/karma/)) { | |
|
9d168f0
IgorMinar authored
|
||
| 220 | files.push(file); | |
| 221 | } else { | |
| 222 | angularFiles[file].forEach(function(f) { | |
| 223 | // replace @ref | |
| 224 | var match = f.match(/^\@(.*)/); | |
| 225 | if (match) { | |
| 226 | var deps = angularFiles[match[1]]; | |
| 227 | files = files.concat(deps); | |
| 228 | } else { | |
| 229 | if (!/jstd|jasmine/.test(f)) { //TODO(i): remove once we don't have jstd/jasmine in repo | |
| 230 | files.push(f); | |
| 231 | } | |
| 232 | } | |
| 233 | }); | |
|
8218c4b
mhevery authored
|
||
| 234 | } | |
|
9d168f0
IgorMinar authored
|
||
| 235 | }); | |
|
8218c4b
mhevery authored
|
||
| 236 | ||
|
9d168f0
IgorMinar authored
|
||
| 237 | return files; | |
| 238 | } | |
|
292a5da
mhevery authored
|
||
| 239 | } |