1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 08:55:46 +01:00

Flush all caches on :rehash.

This commit is contained in:
Kris Maglione
2011-09-30 19:40:20 -04:00
parent e8f99427d1
commit 625c3cef8b
4 changed files with 68 additions and 47 deletions

View File

@@ -79,10 +79,13 @@ var ArrayStore = Class("ArrayStore", StoreBase, {
get length() this._object.length,
set: function set(index, value) {
set: function set(index, value, quiet) {
var orig = this._object[index];
this._object[index] = value;
this.fireEvent("change", index);
if (!quiet)
this.fireEvent("change", index);
return orig;
},
push: function push(value) {