aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrmr19932015-05-31 18:14:29 +0100
committermrmr19932015-05-31 18:14:29 +0100
commitc62bee9036c05beb7945a0a9088e848617960f26 (patch)
tree84cb99b7fbdafb687fb9009990bff43f4be67f4f
parentf09f65c53cddf05544c8fa417bb0d92438c98a63 (diff)
downloadvimium-c62bee9036c05beb7945a0a9088e848617960f26.tar.bz2
Update the comment by the settings object in the frontend
-rw-r--r--content_scripts/vimium_frontend.coffee7
1 files changed, 3 insertions, 4 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index b6c61c04..47ee9e68 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -41,10 +41,9 @@ textInputXPath = (->
DomUtils.makeXPath(inputElements)
)()
-#
-# settings provides a browser-global localStorage-backed dict. get() and set() are synchronous, but load()
-# must be called beforehand to ensure get() will return up-to-date values.
-#
+# NOTE(mrmr1993): we use Settings everywhere instead of the dedicated implementation that was here.
+# Previously, only the values listed below would be loaded. If the space used by settings across all of our
+# content scripts is becoming an issue, then we can restrict the values we load to the list below.
settings =
values:
scrollStepSize: null