1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-10 16:46:28 +02:00

remmove dead code.

This commit is contained in:
Kushagra Gour
2016-05-17 02:06:28 +05:30
parent cb3d71d235
commit ddf3918e62
2 changed files with 1 additions and 16 deletions

View File

@ -61,14 +61,7 @@
window.saveSetting = function saveSetting(setting, value) {
var obj = {};
obj[setting] = value;
// TODO: remove me
// We delegate the saving to background script because, this tab cannot do
// async saving once the tab starts unloading.
// chrome.runtime.sendMessage(obj, function(response) {
// console.log(response);
// });
chrome.storage.local.set(obj, function() {
console.log('saved', request);
});
};