Skip to content

Commit

Permalink
Fix: remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
eight04 committed Sep 28, 2018
1 parent 39a6d19 commit e4135ce
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions js/prefs.js
Expand Up @@ -354,14 +354,6 @@ var prefs = new function Prefs() {
if (Number(storage['editor.lintReportDelay']) === 4500) delete storage['editor.lintReportDelay'];
}

function defineReadonlyProperty(obj, key, value) {
const copy = deepCopy(value);
if (typeof copy === 'object') {
Object.freeze(copy);
}
Object.defineProperty(obj, key, {value: copy, configurable: true});
}

function equal(a, b) {
if (!a || !b || typeof a !== 'object' || typeof b !== 'object') {
return a === b;
Expand Down

0 comments on commit e4135ce

Please sign in to comment.