mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-06-18 20:16:22 +08:00
Since the structure was a little different than the prototype, classes/styles where not applied correctly to the links in the left sidenav. This commit fixes the issue. I also added FontAwesome, in order to be able to display icons until the Material Design icon-font is released. Since this is a temporary meassure, I didn't added as a bower dependency; just added a `font-awesome` folder in assets and added `font-awesome/css/font-awesome.css` to the stylesheets of each deployment (under `docs/config/services/deployments/`.
43 lines
1.3 KiB
JavaScript
43 lines
1.3 KiB
JavaScript
"use strict";
|
|
|
|
module.exports = function jqueryDeployment(getComponentPath) {
|
|
return {
|
|
name: 'jquery',
|
|
examples: {
|
|
commonFiles: {
|
|
scripts: [
|
|
'../../' + getComponentPath('jquery'),
|
|
'../../../angular.js'
|
|
]
|
|
},
|
|
dependencyPath: '../../../'
|
|
},
|
|
scripts: [
|
|
getComponentPath('jquery'),
|
|
getComponentPath('hammerjs', 'hammer.js'),
|
|
getComponentPath('angular'),
|
|
getComponentPath('angular-animate'),
|
|
getComponentPath('angular-aria'),
|
|
getComponentPath('angular-material'),
|
|
getComponentPath('angular-sanitize'),
|
|
getComponentPath('marked', 'lib/marked.js', 'node_modules', 'package.json'),
|
|
getComponentPath('lunr.js', 'lunr.min.js'),
|
|
getComponentPath('google-code-prettify', 'src/prettify.js'),
|
|
getComponentPath('google-code-prettify', 'src/lang-css.js'),
|
|
'js/versions-data.js',
|
|
'js/pages-data.js',
|
|
'js/nav-data.js',
|
|
'js/docs.min.js'
|
|
],
|
|
stylesheets: [
|
|
getComponentPath('angular-material', 'angular-material.css'),
|
|
getComponentPath('angular-material', 'themes/grey-theme.css'),
|
|
getComponentPath('angular-material', 'themes/red-theme.css'),
|
|
'css/prettify-theme.css',
|
|
'css/docs.css',
|
|
'css/animations.css',
|
|
'font-awesome/css/font-awesome.css'
|
|
]
|
|
};
|
|
};
|