mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-29 01:30:16 +02:00
Change the function name
This commit is contained in:
@@ -177,13 +177,13 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
saveHtmlBtn.addEventListener('click', function (e) {
|
saveHtmlBtn.addEventListener('click', function (e) {
|
||||||
save_file();
|
saveFile();
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener('keydown',function(event) {
|
window.addEventListener('keydown',function(event) {
|
||||||
if ((event.ctrlKey)&&(event.keyCode==83)){
|
if ((event.ctrlKey)&&(event.keyCode==83)){
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
save_file();
|
saveFile();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function save_file() {
|
function saveFile() {
|
||||||
var html = editur.cm.html.getValue();
|
var html = editur.cm.html.getValue();
|
||||||
var css = editur.cm.css.getValue();
|
var css = editur.cm.css.getValue();
|
||||||
var js = editur.cm.js.getValue();
|
var js = editur.cm.js.getValue();
|
||||||
|
Reference in New Issue
Block a user