|
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', | |
| 12 | 'src/ng/browser.js', | |
| 13 | 'src/ng/cacheFactory.js', | |
|
beea3a4
IgorMinar authored
|
||
| 14 | 'src/ng/compile.js', | |
|
2430f52
mhevery authored
|
||
| 15 | 'src/ng/controller.js', | |
| 16 | 'src/ng/document.js', | |
| 17 | 'src/ng/exceptionHandler.js', | |
| 18 | 'src/ng/interpolate.js', | |
| 19 | 'src/ng/location.js', | |
| 20 | 'src/ng/log.js', | |
| 21 | 'src/ng/parse.js', | |
| 22 | 'src/ng/q.js', | |
| 23 | 'src/ng/route.js', | |
| 24 | 'src/ng/routeParams.js', | |
| 25 | 'src/ng/rootScope.js', | |
| 26 | 'src/ng/sniffer.js', | |
| 27 | 'src/ng/window.js', | |
| 28 | 'src/ng/http.js', | |
| 29 | 'src/ng/httpBackend.js', | |
| 30 | 'src/ng/locale.js', | |
|
4511d39
IgorMinar authored
|
||
| 31 | 'src/ng/timeout.js', | |
|
2430f52
mhevery authored
|
||
| 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
vojtajina authored
|
||
| 41 | 'src/ng/directive/booleanAttrs.js', | |
|
2430f52
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
IgorMinar authored
|
||
| 48 | 'src/ng/directive/ngCsp.js', | |
|
2430f52
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', | |
|
aa02534
mhevery authored
|
||
| 62 | 'src/ng/directive/style.js' | |
|
a13653c
Di Peng authored
|
||
| 63 | ], | |
| 64 | ||
|
8218c4b
mhevery authored
|
||
| 65 | 'angularSrcModules': [ | |
|
7b22d59
mhevery authored
|
||
| 66 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 67 | 'src/ngResource/resource.js', | |
|
5bcd719
vojtajina authored
|
||
| 68 | 'src/ngSanitize/sanitize.js', | |
| 69 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 70 | 'src/ngSanitize/filter/linky.js', | |
|
8e26750
mhevery authored
|
||
| 71 | 'src/ngMock/angular-mocks.js', | |
| 72 | ||
| 73 | 'src/bootstrap/bootstrap.js' | |
|
8218c4b
mhevery authored
|
||
| 74 | ], | |
| 75 | ||
|
a13653c
Di Peng authored
|
||
| 76 | 'angularScenario': [ | |
|
2430f52
mhevery authored
|
||
| 77 | 'src/ngScenario/Scenario.js', | |
| 78 | 'src/ngScenario/Application.js', | |
| 79 | 'src/ngScenario/Describe.js', | |
| 80 | 'src/ngScenario/Future.js', | |
| 81 | 'src/ngScenario/ObjectModel.js', | |
| 82 | 'src/ngScenario/Runner.js', | |
| 83 | 'src/ngScenario/SpecRunner.js', | |
| 84 | 'src/ngScenario/dsl.js', | |
| 85 | 'src/ngScenario/matchers.js', | |
| 86 | 'src/ngScenario/output/Html.js', | |
| 87 | 'src/ngScenario/output/Json.js', | |
| 88 | 'src/ngScenario/output/Xml.js', | |
| 89 | 'src/ngScenario/output/Object.js' | |
|
a13653c
Di Peng authored
|
||
| 90 | ], | |
| 91 | ||
|
8218c4b
mhevery authored
|
||
| 92 | 'angularTest': [ | |
|
a13653c
Di Peng authored
|
||
| 93 | 'test/testabilityPatch.js', | |
|
2636105
vojtajina authored
|
||
| 94 | 'test/matchers.js', | |
|
2430f52
mhevery authored
|
||
| 95 | 'test/ngScenario/*.js', | |
| 96 | 'test/ngScenario/output/*.js', | |
|
a13653c
Di Peng authored
|
||
| 97 | 'test/*.js', | |
|
2430f52
mhevery authored
|
||
| 98 | 'test/auto/*.js', | |
|
8e26750
mhevery authored
|
||
| 99 | 'test/bootstrap/*.js', | |
|
2430f52
mhevery authored
|
||
| 100 | 'test/ng/*.js', | |
| 101 | 'test/ng/directive/*.js', | |
| 102 | 'test/ng/filter/*.js', | |
|
7b22d59
mhevery authored
|
||
| 103 | 'test/ngCookies/*.js', | |
|
798bca6
mhevery authored
|
||
| 104 | 'test/ngResource/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 105 | 'test/ngSanitize/*.js', | |
| 106 | 'test/ngSanitize/directive/*.js', | |
| 107 | 'test/ngSanitize/filter/*.js', | |
|
8218c4b
mhevery authored
|
||
| 108 | 'test/ngMock/*.js' | |
| 109 | ], | |
| 110 | ||
|
8efcec6
vojtajina authored
|
||
| 111 | 'karma': [ | |
|
8218c4b
mhevery authored
|
||
| 112 | 'lib/jquery/jquery.js', | |
| 113 | 'test/jquery_remove.js', | |
| 114 | '@angularSrc', | |
| 115 | 'src/publishExternalApis.js', | |
| 116 | '@angularSrcModules', | |
| 117 | '@angularScenario', | |
| 118 | '@angularTest', | |
| 119 | 'example/personalLog/*.js', | |
|
a13653c
Di Peng authored
|
||
| 120 | 'example/personalLog/test/*.js' | |
| 121 | ], | |
| 122 | ||
|
8efcec6
vojtajina authored
|
||
| 123 | 'karmaExclude': [ | |
|
a13653c
Di Peng authored
|
||
| 124 | 'test/jquery_alias.js', | |
| 125 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 126 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 127 | ], | |
| 128 | ||
|
8efcec6
vojtajina authored
|
||
| 129 | 'karmaScenario': [ | |
|
a13653c
Di Peng authored
|
||
| 130 | 'build/angular-scenario.js', | |
| 131 | 'build/docs/docs-scenario.js' | |
| 132 | ], | |
| 133 | ||
|
8efcec6
vojtajina authored
|
||
| 134 | "karmaModules": [ | |
|
ddf6f11
vojtajina authored
|
||
| 135 | 'build/angular.js', | |
|
2430f52
mhevery authored
|
||
| 136 | 'src/ngMock/angular-mocks.js', | |
|
7b22d59
mhevery authored
|
||
| 137 | 'src/ngCookies/cookies.js', | |
|
798bca6
mhevery authored
|
||
| 138 | 'src/ngResource/resource.js', | |
|
5bcd719
vojtajina authored
|
||
| 139 | 'src/ngSanitize/sanitize.js', | |
| 140 | 'src/ngSanitize/directive/ngBindHtml.js', | |
| 141 | 'src/ngSanitize/filter/linky.js', | |
|
ddf6f11
vojtajina authored
|
||
| 142 | 'test/matchers.js', | |
|
8218c4b
mhevery authored
|
||
| 143 | 'test/ngMock/*.js', | |
|
7b22d59
mhevery authored
|
||
| 144 | 'test/ngCookies/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 145 | 'test/ngResource/*.js', | |
| 146 | 'test/ngSanitize/*.js', | |
| 147 | 'test/ngSanitize/directive/*.js', | |
| 148 | 'test/ngSanitize/filter/*.js' | |
|
ddf6f11
vojtajina authored
|
||
| 149 | ], | |
| 150 | ||
|
8efcec6
vojtajina authored
|
||
| 151 | 'karmaJquery': [ | |
|
a2a830e
IgorMinar authored
|
||
| 152 | 'lib/jquery/jquery.js', | |
|
a13653c
Di Peng authored
|
||
| 153 | 'test/jquery_alias.js', | |
| 154 | '@angularSrc', | |
|
8218c4b
mhevery authored
|
||
| 155 | 'src/publishExternalApis.js', | |
| 156 | '@angularSrcModules', | |
| 157 | '@angularScenario', | |
| 158 | '@angularTest', | |
|
a13653c
Di Peng authored
|
||
| 159 | 'example/personalLog/*.js', | |
|
7b22d59
mhevery authored
|
||
| 160 | ||
|
a13653c
Di Peng authored
|
||
| 161 | 'example/personalLog/test/*.js' | |
| 162 | ], | |
| 163 | ||
|
8efcec6
vojtajina authored
|
||
| 164 | 'karmaJqueryExclude': [ | |
|
a13653c
Di Peng authored
|
||
| 165 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 166 | 'src/ngScenario/angular-bootstrap.js', | |
|
a13653c
Di Peng authored
|
||
| 167 | 'test/jquery_remove.js' | |
| 168 | ] | |
|
1d966f8
vojtajina authored
|
||
| 169 | }; | |
|
292a5da
mhevery authored
|
||
| 170 | ||
|
06eceeb
IgorMinar authored
|
||
| 171 | if (exports) { | |
|
8efcec6
vojtajina authored
|
||
| 172 | exports.files = angularFiles; | |
| 173 | exports.mergeFilesFor = function() { | |
|
06eceeb
IgorMinar authored
|
||
| 174 | var files = []; | |
| 175 | ||
|
8efcec6
vojtajina authored
|
||
| 176 | Array.prototype.slice.call(arguments, 0).forEach(function(filegroup) { | |
| 177 | angularFiles[filegroup].forEach(function(file) { | |
| 178 | // replace @ref | |
| 179 | var match = file.match(/^\@(.*)/); | |
| 180 | if (match) { | |
| 181 | files = files.concat(angularFiles[match[1]]); | |
| 182 | } else { | |
| 183 | files.push(file); | |
| 184 | } | |
| 185 | }); | |
|
06eceeb
IgorMinar authored
|
||
| 186 | }); | |
|
8218c4b
mhevery authored
|
||
| 187 | ||
|
06eceeb
IgorMinar authored
|
||
| 188 | return files; | |
|
8efcec6
vojtajina authored
|
||
| 189 | }; | |
|
292a5da
mhevery authored
|
||
| 190 | } |