diff options
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index f7bd805d..62247c5c 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -61,10 +61,9 @@ settings = # settings object so we don't keep trying to connect to the extension even though it's gone away. @port.onDisconnect.addListener => @port = null - _get = @get # @get doesn't depend on @port, so we can continue to support it to try and reduce errors. for own property, value of this - @[property] = (->) if "function" == typeof value - @get = _get + # @get doesn't depend on @port, so we can continue to support it to try and reduce errors. + @[property] = (->) if "function" == typeof value and property != "get" get: (key) -> @values[key] |
