Deploying to gh-pages from @ bf2c1f95f3 🚀

This commit is contained in:
Lemmih 2020-09-05 09:13:57 +00:00
commit 54756baf7a
3 changed files with 6 additions and 2 deletions

View file

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