refactor(http): move http files to top-level module

Closes #2680
Closes #3417
This commit is contained in:
Jeff Cross
2015-07-28 13:10:25 -07:00
parent 2374e16104
commit 5a405011de
53 changed files with 280 additions and 156 deletions

View File

@ -10,7 +10,7 @@ module.exports = new Package('angular-v2-public-docs', [basePackage])
'angular2/core.ts',
'angular2/di.ts',
'angular2/directives.ts',
'angular2/http.ts',
'http/http.ts',
'angular2/forms.ts',
'angular2/router.ts',
'angular2/test.ts',

View File

@ -39,7 +39,8 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
readFilesProcessor.basePath = path.resolve(__dirname, '../..');
readTypeScriptModules.sourceFiles = [
'angular2/angular2.ts',
'angular2/router.ts'
'angular2/router.ts',
'http/http.ts'
];
readTypeScriptModules.basePath = path.resolve(path.resolve(__dirname, '../../modules'));
@ -59,6 +60,13 @@ module.exports = new Package('angular-v2-docs', [jsdocPackage, nunjucksPackage,
modules: {
'angular2/router': 'angular2/router'
}
},
{
id: 'http/http',
namespace: 'ngHttp',
modules: {
'http/http':'http/http'
}
}
];
})