fix(errors): require passing stack traces explicitly in ng2 own code

This commit is contained in:
Yegor Jbanov
2015-05-19 12:48:00 -07:00
parent 5c88f662cd
commit 8ab773538b
11 changed files with 112 additions and 75 deletions

View File

@ -76,8 +76,8 @@ module.exports = function(gulp, plugins, config) {
return;
}
}
// TODO(yjbanov): fix ng2 code and remove the check below
if (line.match(/_stack/)) {
// TODO: https://github.com/angular/ts2dart/issues/168
if (line.match(/_stack' is not used/)) {
return;
}