aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.coffee
diff options
context:
space:
mode:
authorStephen Blott2015-06-20 10:02:12 +0100
committerStephen Blott2015-06-20 10:02:12 +0100
commit83abcadc85f27f251a691a51c868edfa13e1b73e (patch)
tree5e71c79773f765812e843acc15cb251ba93cab1f /lib/utils.coffee
parentb09822eb349ec88a573d4f450e9b57e8fa3c6473 (diff)
downloadvimium-83abcadc85f27f251a691a51c868edfa13e1b73e.tar.bz2
The second part of b09822eb349ec88a573d4f450e9b57e8fa3c6473 is incorrect.
Revert it.
Diffstat (limited to 'lib/utils.coffee')
-rw-r--r--lib/utils.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index de335452..d4beff03 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -330,8 +330,8 @@ class SimpleCache
@cache = {}
clear: ->
- @cache = {}
- @previous = {}
+ @rotate true
+ @rotate true
# This is a simple class for the common case where we want to use some data value which may be immediately
# available, or for which we may have to wait. It implements a use-immediately-or-wait queue, and calls the