Преглед изворни кода

Изменить 'ace/index.html'

master
KaiSD пре 4 година
родитељ
комит
7fd7924924
1 измењених фајлова са 4 додато и 2 уклоњено
  1. +4
    -2
      ace/index.html

+ 4
- 2
ace/index.html Прегледај датотеку

@@ -40,8 +40,10 @@
autoScrollEditorIntoView: true
})
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
if (localStorage.getItem("acetest") === null) {
editor.setValue(localStorage.getItem("acetest"));
editor.clearSelection();
}
editor.getSession().on('change', function () {
localStorage.setItem("acetest", editor.getSession().getValue());


Loading…
Откажи
Сачувај