From c64169229586b538a4bd7cc9839dac8a98dc5e59 Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 30 Aug 2016 18:02:51 +0200 Subject: [PATCH] standardize datatype for callback for storage change callack serialization --- customize.dist/store.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/customize.dist/store.js b/customize.dist/store.js index 5c55f7eb2..5b82921ed 100644 --- a/customize.dist/store.js +++ b/customize.dist/store.js @@ -83,7 +83,11 @@ define(function () { // start listening for changes window.addEventListener('storage', function (e) { changeHandlers.forEach(function (f) { - f(e); + f({ + key: e.key, + oldValue: e.oldValue, + newValue: e.newValue, + }); }); }); }