-
-
Save chrisdickinson/bf5ae6b4370f69629a02 to your computer and use it in GitHub Desktop.
this is a horrible idea and i want to cry because of it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var html = ham.start() | |
with(html) { | |
div | |
.span | |
.text('Hello world') | |
._span | |
._div | |
table | |
.tbody | |
.tr | |
.td | |
.text('hello') | |
._td | |
._td | |
._tbody | |
._table | |
} | |
console.log(html) // --> domnodes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment