mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-27 10:12:38 +02:00
sadasd
This commit is contained in:
@ -51,6 +51,15 @@
|
|||||||
|
|
||||||
resetSplitting();
|
resetSplitting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
window.saveSetting = function saveSetting(setting, value) {
|
||||||
|
var obj = {};
|
||||||
|
obj[setting] = value;
|
||||||
|
chrome.storage.local.set(obj, function() {
|
||||||
|
// alert('Settings saved');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
window.onunload = function () {
|
window.onunload = function () {
|
||||||
// editur.saveContent(editur.cm.getValue());
|
// editur.saveContent(editur.cm.getValue());
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user