diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-03-27 17:04:49 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-03-27 17:04:49 -0700 |
commit | 43d14c0c81824d71cda16c9921348719844044af (patch) | |
tree | 91cffa6faf971efbeaf6efab6a5995b251de961d /ext/util.js | |
parent | 4b35a6c5563ca7a0d050c049280aafeb097060c0 (diff) |
Updates
Diffstat (limited to 'ext/util.js')
-rw-r--r-- | ext/util.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ext/util.js b/ext/util.js index e90904f1..76579cac 100644 --- a/ext/util.js +++ b/ext/util.js @@ -68,13 +68,3 @@ function getPopupPositionForRange(popup, range, offset) { return {x: posX, y: posY}; } - -function whenEnabled(callback) { - return (...args) => { - getState((state) => { - if (state === 'enabled') { - callback(...args); - } - }); - }; -} |