Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit e235846

Browse files
authored
Merge pull request #86 from beckyconning/fix-85
Fix StorageEvent function types.
2 parents 9bacd4e + dd53ffb commit e235846

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed
Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,21 @@
11
"use strict";
22

33
exports.key = function (storage) {
4-
return function () {
5-
return storage.key;
6-
};
4+
return storage.key;
75
};
86

97
exports.oldValue = function (storage) {
10-
return function () {
11-
return storage.oldValue;
12-
};
8+
return storage.oldValue;
139
};
1410

1511
exports.newValue = function (storage) {
16-
return function () {
17-
return storage.newValue;
18-
};
12+
return storage.newValue;
1913
};
2014

2115
exports.url = function (storage) {
22-
return function () {
23-
return storage.url;
24-
};
16+
return storage.url;
2517
};
2618

2719
exports.storageArea = function (storage) {
28-
return function () {
29-
return storage.storageArea;
30-
};
20+
return storage.storageArea;
3121
};

0 commit comments

Comments
 (0)