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 src/ObjectState.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ export function commitServerChanges(className: string, id: string, changes: Attr
var val = changes[attr];
state.serverData[attr] = val;
if (val &&
typeof val == 'object' &&
typeof val === 'object' &&
!(val instanceof ParseObject) &&
!(val instanceof ParseFile) &&
!(val instanceof ParseRelation)
Expand Down
2 changes: 1 addition & 1 deletion src/ParseObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ export default class ParseObject {
* // If this is an aggregate error, then we can inspect each error
* // object individually to determine the reason why a particular
* // object was not deleted.
* if (error.code == Parse.Error.AGGREGATE_ERROR) {
* if (error.code === Parse.Error.AGGREGATE_ERROR) {
* for (var i = 0; i < error.errors.length; i++) {
* console.log("Couldn't delete " + error.errors[i].object.id +
* "due to " + error.errors[i].message);
Expand Down