Skip to content
Permalink
Browse files
Merge pull request #476 from EirikBirkeland/patch-1
Drop usage of `chrome.storage` (or make the storage backend pluggable)
  • Loading branch information
Qix- committed Jun 20, 2018
2 parents 7cbe86b + da51af8 commit 71d2aa77ff54c3c95a000bdead6b710b2a762c3f
Showing 1 changed file with 1 addition and 4 deletions.
@@ -7,10 +7,7 @@ exports.formatArgs = formatArgs;
exports.save = save;
exports.load = load;
exports.useColors = useColors;
exports.storage = 'undefined' != typeof chrome
&& 'undefined' != typeof chrome.storage
? chrome.storage.local
: localstorage();
exports.storage = localstorage();

/**
* Colors.

0 comments on commit 71d2aa7

Please sign in to comment.