standardize datatype for callback for storage change callack serialization

pull/1/head
ansuz 8 years ago
parent 43fcb29490
commit c641692295

@ -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,
});
});
});
}

Loading…
Cancel
Save