mirror of
https://github.com/osmarks/website
synced 2025-08-29 16:57:56 +00:00
achievements in heavpoot's game
This commit is contained in:
@@ -30,8 +30,6 @@ const handleTab = ev => {
|
||||
}
|
||||
}
|
||||
|
||||
const inputOnCreate = vnode => { vnode.dom.value = currentStyle }
|
||||
|
||||
const App = {
|
||||
view: () => m("", [
|
||||
m("em", "Due to browser limitations, this currently cannot tell you about errors or warnings in your stylesheet. You can check your browser console for these, probably."),
|
||||
@@ -41,7 +39,7 @@ const App = {
|
||||
m("button", { onclick: applyStyles }, "Apply"),
|
||||
m("button", { onclick: removeStyles }, "Remove")
|
||||
]),
|
||||
m("textarea.style-input", { oncreate: inputOnCreate, oninput: ev => { currentStyle = ev.target.value }, onkeydown: handleTab }),
|
||||
m("textarea.style-input", { oncreate: vnode => { vnode.dom.value = currentStyle }, oninput: ev => { currentStyle = ev.target.value }, onkeydown: handleTab }),
|
||||
])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user