forked from angular-ui/ui-router
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfiles.js
32 lines (31 loc) · 740 Bytes
/
files.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
routerFiles = {
src: [
'src/common.js',
'src/resolve.js',
'src/templateFactory.js',
'src/urlMatcherFactory.js',
'src/urlRouter.js',
'src/state.js',
'src/view.js',
'src/viewScroll.js',
'src/viewDirective.js',
'src/stateDirectives.js',
'src/stateFilters.js'
],
testUtils: [
'test/testUtils.js'
],
test: [
'test/*Spec.js',
'test/compat/matchers.js'
],
angular: function(version) {
return [
'lib/angular-' + version + '/angular.js',
'lib/angular-' + version + '/angular-mocks.js'
].concat(['1.2.14', '1.3.0-rc.1'].indexOf(version) !== -1 ? ['lib/angular-' + version + '/angular-animate.js'] : []);
}
};
if (exports) {
exports.files = routerFiles;
}