chore(test): failures in browsers which do no support Symbol.iterator

Closes #5069
This commit is contained in:
mlaval 2015-11-02 16:02:22 +01:00 committed by Marc Laval
parent c262bda1d3
commit a16214c614
1 changed files with 4 additions and 0 deletions

View File

@ -128,3 +128,7 @@ if (!window.console.assert) window.console.assert = function () { };
clearTimeout(id);
};
}());
// Workaround for https://github.com/angular/angular/issues/5067
// TODO: remove as part of the issue resolution
if (!window.Symbol) window.Symbol = {iterator: '_es6-shim iterator_'};