From c62bee9036c05beb7945a0a9088e848617960f26 Mon Sep 17 00:00:00 2001 From: mrmr1993 Date: Sun, 31 May 2015 18:14:29 +0100 Subject: Update the comment by the settings object in the frontend --- content_scripts/vimium_frontend.coffee | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'content_scripts') 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 -- cgit v1.2.3