Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Apr 30, 2018
1 parent 346f309 commit e84227d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions can-define-backup.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function defineBackup(Map) {
var currentValue = this.serialize();
var patches;
if(!! checkAssociations) {
patches = diffDeep(currentValue, backupStore)
patches = diffDeep(currentValue, backupStore);
} else {
patches = diffMap(currentValue, backupStore).filter(function(patch){
// only keep those that are not a set of deep object
Expand All @@ -57,7 +57,7 @@ function defineBackup(Map) {
var curVal = currentValue[patch.key],
backupVal = backupStore[patch.key];
var twoObjectsCompared = curVal && backupVal && typeof curVal === "object" && typeof backupVal === "object";
return !twoObjectsCompared
return !twoObjectsCompared;
}
});
}
Expand Down

0 comments on commit e84227d

Please sign in to comment.