|
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', | |
| 52 | 'src/ng/directive/ngInclude.js', | |
| 53 | 'src/ng/directive/ngInit.js', | |
| 54 | 'src/ng/directive/ngNonBindable.js', | |
| 55 | 'src/ng/directive/ngPluralize.js', | |
| 56 | 'src/ng/directive/ngRepeat.js', | |
| 57 | 'src/ng/directive/ngShowHide.js', | |
| 58 | 'src/ng/directive/ngStyle.js', | |
| 59 | 'src/ng/directive/ngSwitch.js', | |
| 60 | 'src/ng/directive/ngTransclude.js', | |
| 61 | 'src/ng/directive/ngView.js', | |
| 62 | 'src/ng/directive/script.js', | |
| 63 | 'src/ng/directive/select.js', | |
|
aa02534
mhevery authored
|
||
| 64 | 'src/ng/directive/style.js' | |
|
a13653c
Di Peng authored
|
||
| 65 | ], | |
| 66 | ||
|
8218c4b
mhevery authored
|
||
| 67 | 'angularSrcModules': [ | |
|
7b22d59
mhevery authored
|
||
| 68 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 69 | 'src/ngResource/resource.js', | |
|
5bcd719
vojtajina authored
|
||
| 70 | 'src/ngSanitize/sanitize.js', | |
| 71 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 72 | 'src/ngSanitize/filter/linky.js', | |
|
8e26750
mhevery authored
|
||
| 73 | 'src/ngMock/angular-mocks.js', | |
|
707c65d
|
||
| 74 | 'src/ngMobile/mobile.js', | |
| 75 | 'src/ngMobile/directive/ngClick.js', | |
|
8e26750
mhevery authored
|
||
| 76 | 'src/bootstrap/bootstrap.js' | |
|
8218c4b
mhevery authored
|
||
| 77 | ], | |
| 78 | ||
|
a13653c
Di Peng authored
|
||
| 79 | 'angularScenario': [ | |
|
2430f52
mhevery authored
|
||
| 80 | 'src/ngScenario/Scenario.js', | |
| 81 | 'src/ngScenario/Application.js', | |
| 82 | 'src/ngScenario/Describe.js', | |
| 83 | 'src/ngScenario/Future.js', | |
| 84 | 'src/ngScenario/ObjectModel.js', | |
| 85 | 'src/ngScenario/Runner.js', | |
| 86 | 'src/ngScenario/SpecRunner.js', | |
| 87 | 'src/ngScenario/dsl.js', | |
| 88 | 'src/ngScenario/matchers.js', | |
| 89 | 'src/ngScenario/output/Html.js', | |
| 90 | 'src/ngScenario/output/Json.js', | |
| 91 | 'src/ngScenario/output/Xml.js', | |
| 92 | 'src/ngScenario/output/Object.js' | |
|
a13653c
Di Peng authored
|
||
| 93 | ], | |
| 94 | ||
|
8218c4b
mhevery authored
|
||
| 95 | 'angularTest': [ | |
|
a13653c
Di Peng authored
|
||
| 96 | 'test/testabilityPatch.js', | |
|
2636105
vojtajina authored
|
||
| 97 | 'test/matchers.js', | |
|
2430f52
mhevery authored
|
||
| 98 | 'test/ngScenario/*.js', | |
| 99 | 'test/ngScenario/output/*.js', | |
| 100 | 'test/ngScenario/jstd-scenario-adapter/*.js', | |
|
a13653c
Di Peng authored
|
||
| 101 | 'test/*.js', | |
|
2430f52
mhevery authored
|
||
| 102 | 'test/auto/*.js', | |
|
8e26750
mhevery authored
|
||
| 103 | 'test/bootstrap/*.js', | |
|
2430f52
mhevery authored
|
||
| 104 | 'test/ng/*.js', | |
| 105 | 'test/ng/directive/*.js', | |
| 106 | 'test/ng/filter/*.js', | |
|
7b22d59
mhevery authored
|
||
| 107 | 'test/ngCookies/*.js', | |
|
798bca6
mhevery authored
|
||
| 108 | 'test/ngResource/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 109 | 'test/ngSanitize/*.js', | |
| 110 | 'test/ngSanitize/directive/*.js', | |
| 111 | 'test/ngSanitize/filter/*.js', | |
|
707c65d
|
||
| 112 | 'test/ngMock/*.js', | |
| 113 | 'test/ngMobile/directive/*.js' | |
|
8218c4b
mhevery authored
|
||
| 114 | ], | |
| 115 | ||
| 116 | 'jstd': [ | |
| 117 | 'lib/jasmine/jasmine.js', | |
| 118 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
| 119 | 'lib/jquery/jquery.js', | |
| 120 | 'test/jquery_remove.js', | |
| 121 | '@angularSrc', | |
| 122 | 'src/publishExternalApis.js', | |
| 123 | '@angularSrcModules', | |
| 124 | '@angularScenario', | |
| 125 | 'src/ngScenario/jstd-scenario-adapter/Adapter.js', | |
| 126 | '@angularTest', | |
| 127 | 'example/personalLog/*.js', | |
|
a13653c
Di Peng authored
|
||
| 128 | 'example/personalLog/test/*.js' | |
| 129 | ], | |
| 130 | ||
| 131 | 'jstdExclude': [ | |
| 132 | 'test/jquery_alias.js', | |
| 133 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 134 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 135 | ], | |
| 136 | ||
| 137 | 'jstdScenario': [ | |
| 138 | 'build/angular-scenario.js', | |
| 139 | 'build/jstd-scenario-adapter-config.js', | |
| 140 | 'build/jstd-scenario-adapter.js', | |
| 141 | 'build/docs/docs-scenario.js' | |
| 142 | ], | |
| 143 | ||
|
8218c4b
mhevery authored
|
||
| 144 | "jstdModules": [ | |
|
ddf6f11
vojtajina authored
|
||
| 145 | 'lib/jasmine/jasmine.js', | |
| 146 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
| 147 | 'build/angular.js', | |
|
707c65d
|
||
| 148 | 'build/angular-scenario.js', | |
|
2430f52
mhevery authored
|
||
| 149 | 'src/ngMock/angular-mocks.js', | |
|
7b22d59
mhevery authored
|
||
| 150 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 151 | 'src/ngResource/resource.js', | |
|
707c65d
|
||
| 152 | 'src/ngMobile/mobile.js', | |
| 153 | 'src/ngMobile/directive/ngClick.js', | |
|
5bcd719
vojtajina authored
|
||
| 154 | 'src/ngSanitize/sanitize.js', | |
| 155 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 156 | 'src/ngSanitize/filter/linky.js', | |
|
ddf6f11
vojtajina authored
|
||
| 157 | 'test/matchers.js', | |
|
8218c4b
mhevery authored
|
||
| 158 | 'test/ngMock/*.js', | |
|
7b22d59
mhevery authored
|
||
| 159 | 'test/ngCookies/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 160 | 'test/ngResource/*.js', | |
| 161 | 'test/ngSanitize/*.js', | |
| 162 | 'test/ngSanitize/directive/*.js', | |
|
707c65d
|
||
| 163 | 'test/ngSanitize/filter/*.js', | |
| 164 | 'test/ngMobile/directive/*.js' | |
|
ddf6f11
vojtajina authored
|
||
| 165 | ], | |
| 166 | ||
|
a13653c
Di Peng authored
|
||
| 167 | 'jstdPerf': [ | |
|
ab5df20
vojtajina authored
|
||
| 168 | 'lib/jasmine/jasmine.js', | |
|
a13653c
Di Peng authored
|
||
| 169 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
|
8218c4b
mhevery authored
|
||
| 170 | '@angularSrc', | |
| 171 | '@angularSrcModules', | |
|
2430f52
mhevery authored
|
||
| 172 | 'src/ngMock/angular-mocks.js', | |
|
a13653c
Di Peng authored
|
||
| 173 | 'perf/data/*.js', | |
| 174 | 'perf/testUtils.js', | |
| 175 | 'perf/*.js' | |
| 176 | ], | |
| 177 | ||
| 178 | 'jstdPerfExclude': [ | |
|
2430f52
mhevery authored
|
||
| 179 | 'src/ng/angular-bootstrap.js', | |
| 180 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 181 | ], | |
| 182 | ||
| 183 | 'jstdJquery': [ | |
|
ab5df20
vojtajina authored
|
||
| 184 | 'lib/jasmine/jasmine.js', | |
|
a13653c
Di Peng authored
|
||
| 185 | 'lib/jasmine-jstd-adapter/JasmineAdapter.js', | |
|
a2a830e
IgorMinar authored
|
||
| 186 | 'lib/jquery/jquery.js', | |
|
a13653c
Di Peng authored
|
||
| 187 | 'test/jquery_alias.js', | |
| 188 | '@angularSrc', | |
|
8218c4b
mhevery authored
|
||
| 189 | 'src/publishExternalApis.js', | |
| 190 | '@angularSrcModules', | |
| 191 | '@angularScenario', | |
| 192 | 'src/ngScenario/jstd-scenario-adapter/Adapter.js', | |
| 193 | '@angularTest', | |
|
a13653c
Di Peng authored
|
||
| 194 | 'example/personalLog/*.js', | |
|
7b22d59
mhevery authored
|
||
| 195 | ||
|
a13653c
Di Peng authored
|
||
| 196 | 'example/personalLog/test/*.js' | |
| 197 | ], | |
| 198 | ||
| 199 | 'jstdJqueryExclude': [ | |
| 200 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 201 | 'src/ngScenario/angular-bootstrap.js', | |
|
a13653c
Di Peng authored
|
||
| 202 | 'test/jquery_remove.js' | |
| 203 | ] | |
|
1d966f8
vojtajina authored
|
||
| 204 | }; | |
|
292a5da
mhevery authored
|
||
| 205 | ||
|
9d168f0
IgorMinar authored
|
||
| 206 | if (exports) { | |
| 207 | exports.files = angularFiles | |
| 208 | exports.mergeFiles = function mergeFiles() { | |
| 209 | var files = []; | |
| 210 | ||
| 211 | [].splice.call(arguments, 0).forEach(function(file) { | |
|
c2e215f
vojtajina authored
|
||
| 212 | if (file.match(/karma/)) { | |
|
9d168f0
IgorMinar authored
|
||
| 213 | files.push(file); | |
| 214 | } else { | |
| 215 | angularFiles[file].forEach(function(f) { | |
| 216 | // replace @ref | |
| 217 | var match = f.match(/^\@(.*)/); | |
| 218 | if (match) { | |
| 219 | var deps = angularFiles[match[1]]; | |
| 220 | files = files.concat(deps); | |
| 221 | } else { | |
| 222 | if (!/jstd|jasmine/.test(f)) { //TODO(i): remove once we don't have jstd/jasmine in repo | |
| 223 | files.push(f); | |
| 224 | } | |
| 225 | } | |
| 226 | }); | |
|
8218c4b
mhevery authored
|
||
| 227 | } | |
|
9d168f0
IgorMinar authored
|
||
| 228 | }); | |
|
8218c4b
mhevery authored
|
||
| 229 | ||
|
9d168f0
IgorMinar authored
|
||
| 230 | return files; | |
| 231 | } | |
|
292a5da
mhevery authored
|
||
| 232 | } |