1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-02-20 13:16:43 +01:00
This commit is contained in:
Kushagra Gour 2016-05-03 02:09:31 +05:30
parent cce694c6e7
commit afd67d1de9

View File

@ -51,6 +51,15 @@
resetSplitting();
}
window.saveSetting = function saveSetting(setting, value) {
var obj = {};
obj[setting] = value;
chrome.storage.local.set(obj, function() {
// alert('Settings saved');
});
}
window.onunload = function () {
// editur.saveContent(editur.cm.getValue());
};