|
1 | 1 | "use strict";
|
2 | 2 |
|
3 |
| -module.exports = function jqueryDeployment(getVersion) { |
| 3 | +module.exports = function jqueryDeployment(getComponentPath) { |
4 | 4 | return {
|
5 | 5 | name: 'jquery',
|
6 | 6 | examples: {
|
7 | 7 | commonFiles: {
|
8 | 8 | scripts: [
|
9 |
| - '../../components/jquery-' + getVersion('jquery') + '/jquery.js', |
| 9 | + '../../' + getComponentPath('jquery'), |
10 | 10 | '../../../angular.js'
|
11 | 11 | ]
|
12 | 12 | },
|
13 | 13 | dependencyPath: '../../../'
|
14 | 14 | },
|
15 | 15 | scripts: [
|
16 |
| - 'components/jquery-' + getVersion('jquery') + '/jquery.js', |
17 |
| - '../angular.min.js', |
18 |
| - '../angular-resource.min.js', |
19 |
| - '../angular-route.min.js', |
20 |
| - '../angular-cookies.min.js', |
21 |
| - '../angular-sanitize.min.js', |
22 |
| - '../angular-touch.min.js', |
23 |
| - '../angular-animate.min.js', |
24 |
| - 'components/marked-' + getVersion('marked', 'node_modules', 'package.json') + '/lib/marked.js', |
25 |
| - 'js/angular-bootstrap/bootstrap.min.js', |
26 |
| - 'js/angular-bootstrap/dropdown-toggle.min.js', |
27 |
| - 'components/lunr.js-' + getVersion('lunr.js') + '/lunr.min.js', |
28 |
| - 'components/google-code-prettify-' + getVersion('google-code-prettify') + '/src/prettify.js', |
29 |
| - 'components/google-code-prettify-' + getVersion('google-code-prettify') + '/src/lang-css.js', |
| 16 | + getComponentPath('jquery'), |
| 17 | + getComponentPath('hammerjs', 'hammer.js'), |
| 18 | + getComponentPath('angular'), |
| 19 | + getComponentPath('angular-animate'), |
| 20 | + getComponentPath('angular-aria'), |
| 21 | + getComponentPath('angular-material'), |
| 22 | + getComponentPath('angular-sanitize'), |
| 23 | + getComponentPath('marked', 'lib/marked.js', 'node_modules', 'package.json'), |
| 24 | + getComponentPath('lunr.js', 'lunr.min.js'), |
| 25 | + getComponentPath('google-code-prettify', 'src/prettify.js'), |
| 26 | + getComponentPath('google-code-prettify', 'src/lang-css.js'), |
30 | 27 | 'js/versions-data.js',
|
31 | 28 | 'js/pages-data.js',
|
32 | 29 | 'js/nav-data.js',
|
33 | 30 | 'js/docs.min.js'
|
34 | 31 | ],
|
35 | 32 | stylesheets: [
|
36 |
| - 'components/bootstrap-' + getVersion('bootstrap') + '/css/bootstrap.min.css', |
37 |
| - 'components/open-sans-fontface-' + getVersion('open-sans-fontface') + '/open-sans.css', |
| 33 | + getComponentPath('angular-material', 'angular-material.css'), |
38 | 34 | 'css/prettify-theme.css',
|
39 | 35 | 'css/docs.css',
|
40 | 36 | 'css/animations.css'
|
|
0 commit comments