Simpler $.set for the crx.
This commit is contained in:
parent
9cf363ad81
commit
1b5695ac82
@ -216,9 +216,7 @@ $.extend $,
|
||||
items = $.item key, val
|
||||
chrome.storage.sync.get items, cb
|
||||
set: (key, val) ->
|
||||
item = {}
|
||||
item[key] = val
|
||||
chrome.storage.sync.set item
|
||||
chrome.storage.sync.set $.item key, val
|
||||
<% } else if (type === 'userjs') { %>
|
||||
do ->
|
||||
# http://www.opera.com/docs/userjs/specs/#scriptstorage
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user