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