mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(): cleanup unused modules
This commit is contained in:
@ -38,8 +38,7 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
|
|||||||
// Configure file reading
|
// Configure file reading
|
||||||
readFilesProcessor.basePath = path.resolve(__dirname, '../..');
|
readFilesProcessor.basePath = path.resolve(__dirname, '../..');
|
||||||
readTypeScriptModules.sourceFiles = [
|
readTypeScriptModules.sourceFiles = [
|
||||||
'angular2/angular2.ts',
|
'angular2/angular2.ts'
|
||||||
'angular2/router.ts'
|
|
||||||
];
|
];
|
||||||
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../modules'));
|
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../modules'));
|
||||||
|
|
||||||
@ -49,12 +48,6 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
|
|||||||
modules: {
|
modules: {
|
||||||
'angular2/angular2': 'angular2/angular2',
|
'angular2/angular2': 'angular2/angular2',
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
id: 'angular2/router',
|
|
||||||
modules: {
|
|
||||||
'angular2/router': 'angular2/router'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
|
@ -22,6 +22,7 @@ module.exports = function(config) {
|
|||||||
'dist/bundles/ionic.system.js',
|
'dist/bundles/ionic.system.js',
|
||||||
{ pattern: 'node_modules/@angular/**/*.js', included: false},
|
{ pattern: 'node_modules/@angular/**/*.js', included: false},
|
||||||
{ pattern: 'dist/tests/**/*.spec.js', included: false },
|
{ pattern: 'dist/tests/**/*.spec.js', included: false },
|
||||||
|
// { pattern: 'dist/tests/components/nav/**/*.spec.js', included: false },
|
||||||
{ pattern: 'src/**/*.js', included: false },
|
{ pattern: 'src/**/*.js', included: false },
|
||||||
'scripts/karma/test-main.js'
|
'scripts/karma/test-main.js'
|
||||||
],
|
],
|
||||||
|
@ -36,10 +36,6 @@ System.config({
|
|||||||
main: 'index.js',
|
main: 'index.js',
|
||||||
defaultExtension: 'js'
|
defaultExtension: 'js'
|
||||||
},
|
},
|
||||||
'@angular/upgrade': {
|
|
||||||
main: 'index.js',
|
|
||||||
defaultExtension: 'js'
|
|
||||||
},
|
|
||||||
'@angular/platform-browser': {
|
'@angular/platform-browser': {
|
||||||
main: 'index.js',
|
main: 'index.js',
|
||||||
defaultExtension: 'js'
|
defaultExtension: 'js'
|
||||||
@ -47,10 +43,6 @@ System.config({
|
|||||||
'@angular/platform-browser-dynamic': {
|
'@angular/platform-browser-dynamic': {
|
||||||
main: 'index.js',
|
main: 'index.js',
|
||||||
defaultExtension: 'js'
|
defaultExtension: 'js'
|
||||||
},
|
|
||||||
'@angular/platform-server': {
|
|
||||||
main: 'index.js',
|
|
||||||
defaultExtension: 'js'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -17,9 +17,6 @@ module.exports = {
|
|||||||
'angular2/common': {
|
'angular2/common': {
|
||||||
commonjs2: ['angular2', 'common']
|
commonjs2: ['angular2', 'common']
|
||||||
},
|
},
|
||||||
'angular2/router' : {
|
|
||||||
commonjs2: ['angular2', 'router']
|
|
||||||
},
|
|
||||||
'angular2/http': {
|
'angular2/http': {
|
||||||
commonjs2: ['angular2', 'http']
|
commonjs2: ['angular2', 'http']
|
||||||
},
|
},
|
||||||
|
@ -43,7 +43,6 @@ import { Searchbar } from '../components/searchbar/searchbar';
|
|||||||
import { Nav } from '../components/nav/nav';
|
import { Nav } from '../components/nav/nav';
|
||||||
import { NavPop } from '../components/nav/nav-pop';
|
import { NavPop } from '../components/nav/nav-pop';
|
||||||
import { NavPush } from '../components/nav/nav-push';
|
import { NavPush } from '../components/nav/nav-push';
|
||||||
import { NavRouter } from '../components/nav/nav-router';
|
|
||||||
import { NavbarTemplate, Navbar } from '../components/navbar/navbar';
|
import { NavbarTemplate, Navbar } from '../components/navbar/navbar';
|
||||||
import { ShowWhen, HideWhen } from '../components/show-hide-when/show-hide-when';
|
import { ShowWhen, HideWhen } from '../components/show-hide-when/show-hide-when';
|
||||||
|
|
||||||
@ -113,7 +112,6 @@ import { ShowWhen, HideWhen } from '../components/show-hide-when/show-hide-when'
|
|||||||
* - Navbar
|
* - Navbar
|
||||||
* - NavPush
|
* - NavPush
|
||||||
* - NavPop
|
* - NavPop
|
||||||
* - NavRouter
|
|
||||||
* - IdRef
|
* - IdRef
|
||||||
* - ShowWhen
|
* - ShowWhen
|
||||||
* - HideWhen
|
* - HideWhen
|
||||||
@ -195,7 +193,6 @@ export const IONIC_DIRECTIVES: any[] = [
|
|||||||
|
|
||||||
NavPush,
|
NavPush,
|
||||||
NavPop,
|
NavPop,
|
||||||
NavRouter,
|
|
||||||
|
|
||||||
ShowWhen,
|
ShowWhen,
|
||||||
HideWhen
|
HideWhen
|
||||||
|
Reference in New Issue
Block a user