mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 09:32:22 +00:00
Deploying to gh-pages from @ e83436df02 🚀
This commit is contained in:
parent
54756baf7a
commit
07f8b8df85
3 changed files with 6 additions and 3 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue