Skip to content

Commit

Permalink
Merge pull request #476 from EirikBirkeland/patch-1
Browse files Browse the repository at this point in the history
Drop usage of `chrome.storage` (or make the storage backend pluggable)
  • Loading branch information
Qix- committed Jun 20, 2018
2 parents 7cbe86b + da51af8 commit 71d2aa7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/browser.js
Expand Up @@ -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.
Expand Down

0 comments on commit 71d2aa7

Please sign in to comment.