Deploying to gh-pages from @ harttle/liquidjs@7e99efc513 🚀

This commit is contained in:
harttle
2022-01-28 17:27:54 +00:00
parent 59a0c0550f
commit 5b3a84961b
557 changed files with 3820 additions and 3137 deletions
+12 -1
View File
@@ -76,9 +76,20 @@
editor.on('change', update);
dataEditor.on('change', update);
update();
ready();
function ready() {
const loader = document.querySelector('.loader');
loader.classList.add('hide');
loader.setAttribute('aria-busy', false);
const editors = document.querySelector('#editors');
editors.classList.remove('hide');
editors.setAttribute('aria-hide', false);
}
function createEditor(id, lang) {
var editor = ace.edit(id);
const editor = ace.edit(id);
editor.setTheme('ace/theme/tomorrow_night');
editor.getSession().setMode('ace/mode/' + lang);
editor.getSession().setOptions({