\
\\${count}\
\
\
`;
Boldom.disableCache('scripts');
Boldom.errorHandler = (err) => {
if (err) {
errors.innerHTML = 'Error:
' + err;
} else {
errors.innerHTML = '';
}
};
Boldom.preload(location.href.replace('repl.html', 'app.html'), source);
require.config({ paths: { 'vs': 'https://unpkg.com/monaco-editor@0.8.3/min/vs' } });
require(["vs/editor/editor.main"], function () {
let editor = monaco.editor.create(document.getElementById('editor'), {
value: source,
language: 'html',
theme: 'vs-dark'
});
editor.model.onDidChangeContent(() => {
Boldom.preload(location.href.replace('repl.html', 'app.html'), editor.getValue());
thelink.tagged = false;
Boldom.scan();
});
});
})()