|
36831ec
mzgol authored
|
||
| 1 | 'use strict'; | |
| 2 | ||
| 3 | var angularFiles = { | |
|
a13653c
Di Peng authored
|
||
| 4 | 'angularSrc': [ | |
|
003861d
ksheedlo authored
|
||
| 5 | 'src/minErr.js', | |
|
a13653c
Di Peng authored
|
||
| 6 | 'src/Angular.js', | |
|
5143e7b
mhevery authored
|
||
| 7 | 'src/loader.js', | |
|
9555511
mhevery authored
|
||
| 8 | 'src/AngularPublic.js', | |
|
a13653c
Di Peng authored
|
||
| 9 | 'src/jqLite.js', | |
| 10 | 'src/apis.js', | |
|
2430f52
mhevery authored
|
||
| 11 | ||
| 12 | 'src/auto/injector.js', | |
| 13 | ||
| 14 | 'src/ng/anchorScroll.js', | |
|
81923f1
matsko authored
|
||
| 15 | 'src/ng/animate.js', | |
|
6276142
matsko authored
|
||
| 16 | 'src/ng/asyncCallback.js', | |
|
2430f52
mhevery authored
|
||
| 17 | 'src/ng/browser.js', | |
| 18 | 'src/ng/cacheFactory.js', | |
|
beea3a4
IgorMinar authored
|
||
| 19 | 'src/ng/compile.js', | |
|
2430f52
mhevery authored
|
||
| 20 | 'src/ng/controller.js', | |
| 21 | 'src/ng/document.js', | |
| 22 | 'src/ng/exceptionHandler.js', | |
|
bea9422
chirayuk authored
|
||
| 23 | 'src/ng/http.js', | |
| 24 | 'src/ng/httpBackend.js', | |
|
2430f52
mhevery authored
|
||
| 25 | 'src/ng/interpolate.js', | |
|
2b5ce84
juliemr authored
|
||
| 26 | 'src/ng/interval.js', | |
|
bea9422
chirayuk authored
|
||
| 27 | 'src/ng/locale.js', | |
|
2430f52
mhevery authored
|
||
| 28 | 'src/ng/location.js', | |
| 29 | 'src/ng/log.js', | |
| 30 | 'src/ng/parse.js', | |
| 31 | 'src/ng/q.js', | |
|
04d7317
matsko authored
|
||
| 32 | 'src/ng/raf.js', | |
|
2430f52
mhevery authored
|
||
| 33 | 'src/ng/rootScope.js', | |
|
3335234
tbosch authored
|
||
| 34 | 'src/ng/sanitizeUri.js', | |
|
bea9422
chirayuk authored
|
||
| 35 | 'src/ng/sce.js', | |
|
2430f52
mhevery authored
|
||
| 36 | 'src/ng/sniffer.js', | |
|
4511d39
IgorMinar authored
|
||
| 37 | 'src/ng/timeout.js', | |
|
b99d064
chirayuk authored
|
||
| 38 | 'src/ng/urlUtils.js', | |
|
bea9422
chirayuk authored
|
||
| 39 | 'src/ng/window.js', | |
|
2430f52
mhevery authored
|
||
| 40 | ||
| 41 | 'src/ng/filter.js', | |
| 42 | 'src/ng/filter/filter.js', | |
| 43 | 'src/ng/filter/filters.js', | |
| 44 | 'src/ng/filter/limitTo.js', | |
| 45 | 'src/ng/filter/orderBy.js', | |
| 46 | ||
| 47 | 'src/ng/directive/directives.js', | |
| 48 | 'src/ng/directive/a.js', | |
|
d9b90d7
matsko authored
|
||
| 49 | 'src/ng/directive/attrs.js', | |
|
2430f52
mhevery authored
|
||
| 50 | 'src/ng/directive/form.js', | |
| 51 | 'src/ng/directive/input.js', | |
| 52 | 'src/ng/directive/ngBind.js', | |
| 53 | 'src/ng/directive/ngClass.js', | |
| 54 | 'src/ng/directive/ngCloak.js', | |
| 55 | 'src/ng/directive/ngController.js', | |
|
2b87c81
IgorMinar authored
|
||
| 56 | 'src/ng/directive/ngCsp.js', | |
|
2430f52
mhevery authored
|
||
| 57 | 'src/ng/directive/ngEventDirs.js', | |
|
2f96fbd
OrenAvissar authored
|
||
| 58 | 'src/ng/directive/ngIf.js', | |
|
2430f52
mhevery authored
|
||
| 59 | 'src/ng/directive/ngInclude.js', | |
| 60 | 'src/ng/directive/ngInit.js', | |
| 61 | 'src/ng/directive/ngNonBindable.js', | |
| 62 | 'src/ng/directive/ngPluralize.js', | |
| 63 | 'src/ng/directive/ngRepeat.js', | |
| 64 | 'src/ng/directive/ngShowHide.js', | |
| 65 | 'src/ng/directive/ngStyle.js', | |
| 66 | 'src/ng/directive/ngSwitch.js', | |
| 67 | 'src/ng/directive/ngTransclude.js', | |
| 68 | 'src/ng/directive/script.js', | |
| 69 | 'src/ng/directive/select.js', | |
|
aa02534
mhevery authored
|
||
| 70 | 'src/ng/directive/style.js' | |
|
a13653c
Di Peng authored
|
||
| 71 | ], | |
| 72 | ||
|
934a95d
petebacondarwin authored
|
||
| 73 | 'angularLoader': [ | |
|
8425e9f
vojtajina authored
|
||
| 74 | 'src/minErr.js', | |
|
934a95d
petebacondarwin authored
|
||
| 75 | 'src/loader.js' | |
|
8218c4b
mhevery authored
|
||
| 76 | ], | |
| 77 | ||
|
934a95d
petebacondarwin authored
|
||
| 78 | 'angularModules': { | |
| 79 | 'ngAnimate': [ | |
| 80 | 'src/ngAnimate/animate.js' | |
| 81 | ], | |
| 82 | 'ngCookies': [ | |
| 83 | 'src/ngCookies/cookies.js' | |
| 84 | ], | |
|
0f4016c
matsko authored
|
||
| 85 | 'ngMessages': [ | |
| 86 | 'src/ngMessages/messages.js' | |
| 87 | ], | |
|
934a95d
petebacondarwin authored
|
||
| 88 | 'ngResource': [ | |
| 89 | 'src/ngResource/resource.js' | |
| 90 | ], | |
| 91 | 'ngRoute': [ | |
| 92 | 'src/ngRoute/route.js', | |
| 93 | 'src/ngRoute/routeParams.js', | |
| 94 | 'src/ngRoute/directive/ngView.js' | |
| 95 | ], | |
| 96 | 'ngSanitize': [ | |
| 97 | 'src/ngSanitize/sanitize.js', | |
| 98 | 'src/ngSanitize/filter/linky.js' | |
| 99 | ], | |
| 100 | 'ngMock': [ | |
| 101 | 'src/ngMock/angular-mocks.js' | |
| 102 | ], | |
| 103 | 'ngTouch': [ | |
| 104 | 'src/ngTouch/touch.js', | |
| 105 | 'src/ngTouch/swipe.js', | |
| 106 | 'src/ngTouch/directive/ngClick.js', | |
| 107 | 'src/ngTouch/directive/ngSwipe.js' | |
| 108 | ], | |
| 109 | }, | |
| 110 | ||
|
a13653c
Di Peng authored
|
||
| 111 | 'angularScenario': [ | |
|
2430f52
mhevery authored
|
||
| 112 | 'src/ngScenario/Scenario.js', | |
|
5da6b12
IgorMinar authored
|
||
| 113 | 'src/ngScenario/browserTrigger.js', | |
|
2430f52
mhevery authored
|
||
| 114 | 'src/ngScenario/Application.js', | |
| 115 | 'src/ngScenario/Describe.js', | |
| 116 | 'src/ngScenario/Future.js', | |
| 117 | 'src/ngScenario/ObjectModel.js', | |
| 118 | 'src/ngScenario/Runner.js', | |
| 119 | 'src/ngScenario/SpecRunner.js', | |
| 120 | 'src/ngScenario/dsl.js', | |
| 121 | 'src/ngScenario/matchers.js', | |
| 122 | 'src/ngScenario/output/Html.js', | |
| 123 | 'src/ngScenario/output/Json.js', | |
| 124 | 'src/ngScenario/output/Xml.js', | |
| 125 | 'src/ngScenario/output/Object.js' | |
|
a13653c
Di Peng authored
|
||
| 126 | ], | |
| 127 | ||
|
8218c4b
mhevery authored
|
||
| 128 | 'angularTest': [ | |
|
1d06a94
IgorMinar authored
|
||
| 129 | 'test/helpers/*.js', | |
|
2430f52
mhevery authored
|
||
| 130 | 'test/ngScenario/*.js', | |
| 131 | 'test/ngScenario/output/*.js', | |
|
a13653c
Di Peng authored
|
||
| 132 | 'test/*.js', | |
|
2430f52
mhevery authored
|
||
| 133 | 'test/auto/*.js', | |
|
5599b55
IgorMinar authored
|
||
| 134 | 'test/ng/**/*.js', | |
|
81923f1
matsko authored
|
||
| 135 | 'test/ngAnimate/*.js', | |
|
0f4016c
matsko authored
|
||
| 136 | 'test/ngMessages/*.js', | |
|
7b22d59
mhevery authored
|
||
| 137 | 'test/ngCookies/*.js', | |
|
798bca6
mhevery authored
|
||
| 138 | 'test/ngResource/*.js', | |
|
5599b55
IgorMinar authored
|
||
| 139 | 'test/ngRoute/**/*.js', | |
| 140 | 'test/ngSanitize/**/*.js', | |
|
707c65d
|
||
| 141 | 'test/ngMock/*.js', | |
|
94ec84e
btford authored
|
||
| 142 | 'test/ngTouch/**/*.js' | |
|
8218c4b
mhevery authored
|
||
| 143 | ], | |
| 144 | ||
|
976edc1
vojtajina authored
|
||
| 145 | 'karma': [ | |
|
576269b
ksheedlo authored
|
||
| 146 | 'bower_components/jquery/jquery.js', | |
|
8218c4b
mhevery authored
|
||
| 147 | 'test/jquery_remove.js', | |
| 148 | '@angularSrc', | |
| 149 | 'src/publishExternalApis.js', | |
| 150 | '@angularSrcModules', | |
| 151 | '@angularScenario', | |
| 152 | '@angularTest', | |
|
a13653c
Di Peng authored
|
||
| 153 | ], | |
| 154 | ||
|
976edc1
vojtajina authored
|
||
| 155 | 'karmaExclude': [ | |
|
a13653c
Di Peng authored
|
||
| 156 | 'test/jquery_alias.js', | |
| 157 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 158 | 'src/ngScenario/angular-bootstrap.js' | |
|
a13653c
Di Peng authored
|
||
| 159 | ], | |
| 160 | ||
|
976edc1
vojtajina authored
|
||
| 161 | 'karmaScenario': [ | |
|
a13653c
Di Peng authored
|
||
| 162 | 'build/angular-scenario.js', | |
| 163 | 'build/docs/docs-scenario.js' | |
| 164 | ], | |
| 165 | ||
|
976edc1
vojtajina authored
|
||
| 166 | "karmaModules": [ | |
|
ddf6f11
vojtajina authored
|
||
| 167 | 'build/angular.js', | |
|
5599b55
IgorMinar authored
|
||
| 168 | '@angularSrcModules', | |
|
5da6b12
IgorMinar authored
|
||
| 169 | 'src/ngScenario/browserTrigger.js', | |
|
1d06a94
IgorMinar authored
|
||
| 170 | 'test/helpers/*.js', | |
|
8218c4b
mhevery authored
|
||
| 171 | 'test/ngMock/*.js', | |
|
7b22d59
mhevery authored
|
||
| 172 | 'test/ngCookies/*.js', | |
|
5599b55
IgorMinar authored
|
||
| 173 | 'test/ngRoute/**/*.js', | |
|
5bcd719
vojtajina authored
|
||
| 174 | 'test/ngResource/*.js', | |
|
5599b55
IgorMinar authored
|
||
| 175 | 'test/ngSanitize/**/*.js', | |
|
94ec84e
btford authored
|
||
| 176 | 'test/ngTouch/**/*.js' | |
|
ddf6f11
vojtajina authored
|
||
| 177 | ], | |
| 178 | ||
|
976edc1
vojtajina authored
|
||
| 179 | 'karmaJquery': [ | |
|
576269b
ksheedlo authored
|
||
| 180 | 'bower_components/jquery/jquery.js', | |
|
a13653c
Di Peng authored
|
||
| 181 | 'test/jquery_alias.js', | |
| 182 | '@angularSrc', | |
|
8218c4b
mhevery authored
|
||
| 183 | 'src/publishExternalApis.js', | |
| 184 | '@angularSrcModules', | |
| 185 | '@angularScenario', | |
| 186 | '@angularTest', | |
|
a13653c
Di Peng authored
|
||
| 187 | ], | |
| 188 | ||
|
976edc1
vojtajina authored
|
||
| 189 | 'karmaJqueryExclude': [ | |
|
a13653c
Di Peng authored
|
||
| 190 | 'src/angular-bootstrap.js', | |
|
2430f52
mhevery authored
|
||
| 191 | 'src/ngScenario/angular-bootstrap.js', | |
|
a13653c
Di Peng authored
|
||
| 192 | 'test/jquery_remove.js' | |
| 193 | ] | |
|
1d966f8
vojtajina authored
|
||
| 194 | }; | |
|
292a5da
mhevery authored
|
||
| 195 | ||
|
934a95d
petebacondarwin authored
|
||
| 196 | angularFiles['angularSrcModules'] = [].concat( | |
| 197 | angularFiles['angularModules']['ngAnimate'], | |
|
0f4016c
matsko authored
|
||
| 198 | angularFiles['angularModules']['ngMessages'], | |
|
934a95d
petebacondarwin authored
|
||
| 199 | angularFiles['angularModules']['ngCookies'], | |
| 200 | angularFiles['angularModules']['ngResource'], | |
| 201 | angularFiles['angularModules']['ngRoute'], | |
| 202 | angularFiles['angularModules']['ngSanitize'], | |
| 203 | angularFiles['angularModules']['ngMock'], | |
| 204 | angularFiles['angularModules']['ngTouch'] | |
| 205 | ); | |
| 206 | ||
|
9d168f0
IgorMinar authored
|
||
| 207 | if (exports) { | |
|
976edc1
vojtajina authored
|
||
| 208 | exports.files = angularFiles; | |
| 209 | exports.mergeFilesFor = function() { | |
|
9d168f0
IgorMinar authored
|
||
| 210 | var files = []; | |
| 211 | ||
|
976edc1
vojtajina authored
|
||
| 212 | Array.prototype.slice.call(arguments, 0).forEach(function(filegroup) { | |
| 213 | angularFiles[filegroup].forEach(function(file) { | |
| 214 | // replace @ref | |
| 215 | var match = file.match(/^\@(.*)/); | |
| 216 | if (match) { | |
| 217 | files = files.concat(angularFiles[match[1]]); | |
| 218 | } else { | |
| 219 | files.push(file); | |
| 220 | } | |
| 221 | }); | |
|
9d168f0
IgorMinar authored
|
||
| 222 | }); | |
|
8218c4b
mhevery authored
|
||
| 223 | ||
|
9d168f0
IgorMinar authored
|
||
| 224 | return files; | |
|
976edc1
vojtajina authored
|
||
| 225 | }; | |
|
292a5da
mhevery authored
|
||
| 226 | } |