chore(build): change comment to indicate the temporary fix is permanent.

Fixes #3770

Closes #3775
This commit is contained in:
Alex Eagle 2015-08-21 12:14:20 -07:00 committed by Alex Eagle
parent 377e3ac962
commit d2a3b76a71
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ class TSToDartTranspiler implements DiffingBroccoliPlugin {
} }
rebuild(treeDiff: DiffResult) { rebuild(treeDiff: DiffResult) {
// replace with toEmit = [] once https://github.com/angular/angular/issues/3770 is fixed // Matches rootFilePaths in node_tree.ts
// These files are not compatible with Typescript's ES6 library
// so they must be explicitly included when targetting ES5, as ts2dart does.
// see https://github.com/angular/angular/issues/3770
let toEmit = [path.resolve(this.inputPath, 'angular2/traceur-runtime.d.ts')]; let toEmit = [path.resolve(this.inputPath, 'angular2/traceur-runtime.d.ts')];
let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart'); let getDartFilePath = (path: string) => path.replace(/((\.js)|(\.ts))$/i, '.dart');
treeDiff.addedPaths.concat(treeDiff.changedPaths) treeDiff.addedPaths.concat(treeDiff.changedPaths)