Skip to content

Commit

Permalink
remove unused json stringify comparison
Browse files Browse the repository at this point in the history
Signed-off-by: Wouter Vroege <[email protected]>
  • Loading branch information
woutervroege committed May 14, 2021
1 parent f22f2dd commit ae1325f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/observed-properties-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export const ObservedProperties = (SuperClass) => class extends SuperClass {

static __propertyValueChanged(propName, oldValue, newValue) {
if(oldValue === newValue) return;
try { if(JSON.stringify(oldValue) === JSON.stringify(newValue)) return; } catch(e) {};
this.propertyChangedCallback && this.propertyChangedCallback(propName, oldValue, newValue);
}

Expand Down

0 comments on commit ae1325f

Please sign in to comment.