Skip to content

Commit 71d2aa7

Browse files
authoredJun 20, 2018
Merge pull request #476 from EirikBirkeland/patch-1
Drop usage of `chrome.storage` (or make the storage backend pluggable)
2 parents 7cbe86b + da51af8 commit 71d2aa7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎src/browser.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ exports.formatArgs = formatArgs;
77
exports.save = save;
88
exports.load = load;
99
exports.useColors = useColors;
10-
exports.storage = 'undefined' != typeof chrome
11-
&& 'undefined' != typeof chrome.storage
12-
? chrome.storage.local
13-
: localstorage();
10+
exports.storage = localstorage();
1411

1512
/**
1613
* Colors.

0 commit comments

Comments
 (0)
Please sign in to comment.