Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ExportAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ ExportAdapter.prototype.handleRelationUpdates = function(className,
}

if (op.__op == 'Batch') {
for (x of op.ops) {
for (var x of op.ops) {
process(x, key);
}
}
Expand Down
2 changes: 1 addition & 1 deletion RestQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions spec/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function normalize(obj) {
return '[' + obj.map(normalize).join(', ') + ']';
}
var answer = '{';
for (key of Object.keys(obj).sort()) {
for (var key of Object.keys(obj).sort()) {
answer += key + ': ';
answer += normalize(obj[key]);
answer += ', ';
Expand Down Expand Up @@ -192,7 +192,7 @@ function mockFacebook() {

function clearData() {
var promises = [];
for (conn in DatabaseAdapter.dbConnections) {
for (var conn in DatabaseAdapter.dbConnections) {
promises.push(DatabaseAdapter.dbConnections[conn].deleteEverything());
}
return Promise.all(promises);
Expand Down