Deploying to gh-pages from @ e83436df02 🚀

This commit is contained in:
Lemmih 2020-09-05 10:06:12 +00:00
commit 07f8b8df85
3 changed files with 6 additions and 3 deletions

View file

@ -1,8 +1,10 @@
function embedPlayground(parent, extraClass = '') {
function embedPlayground(parent, extraClass) {
const code = parent.innerText;
const container = document.createElement("div");
container.classList.add('playground-embed')
container.classList.add(extraClass)
if(typeof extraClass !== 'undefined') {
container.classList.add(extraClass)
}
const editor = document.createElement("div");
editor.classList.add('playground-editor')