Fixed the missing variable declarations on iterators. This makes running the tests in ES6 pass!

Signed-off-by: Alexander Mays <maysale01@gmail.com>
This commit is contained in:
Alexander Mays
2016-02-02 10:03:54 -05:00
parent 477a091f88
commit 52769cce29
3 changed files with 4 additions and 4 deletions

View File

@@ -434,7 +434,7 @@ function includePath(config, auth, response, path) {
function findPointers(object, path) {
if (object instanceof Array) {
var answer = [];
for (x of object) {
for (var x of object) {
answer = answer.concat(findPointers(x, path));
}
return answer;