From c66de372f77d2ac001a8651d49d4afc306c4806b Mon Sep 17 00:00:00 2001 From: Zackary Chapple Date: Wed, 27 Apr 2016 08:10:56 -0400 Subject: [PATCH] feat(migration): copying JS files when created in cli generated app, removing dead code --- lib/broccoli/angular2-app.js | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/lib/broccoli/angular2-app.js b/lib/broccoli/angular2-app.js index 2bfa0187771b..58b894d9dd8e 100644 --- a/lib/broccoli/angular2-app.js +++ b/lib/broccoli/angular2-app.js @@ -56,6 +56,7 @@ class Angular2App extends BroccoliPlugin { read(readTree) { return this._tree.read(readTree); } + /** * @override */ @@ -246,34 +247,6 @@ class Angular2App extends BroccoliPlugin { }); } - /** - * Returns the source root dir tree. - * - * @private - * @method _getSourceTree - * @return {Tree} Tree for the src dir. - */ - _getSourceTree() { - return new BroccoliFunnel(this._inputNode, { - include: ['*.ts', '**/*.ts', '**/*.d.ts'], - destDir: this._sourceDir - }); - } - - /** - * Returns the typings tree. - * - * @private - * @method _getTypingsTree - * @return {Tree} Tree for the src dir. - */ - _getTypingsTree() { - return new BroccoliFunnel('typings', { - include: ['browser.d.ts', 'browser/**'], - destDir: 'typings' - }); - } - /** * Returns the TS tree. * @@ -345,7 +318,6 @@ class Angular2App extends BroccoliPlugin { include: [path.join(this._sourceDir, '**/*')], exclude: [ '**/*.ts', - '**/*.js', '**/*.scss', '**/*.sass', '**/*.less',