Skip to content

Instantly share code, notes, and snippets.

@zaydek-old
Created October 6, 2016 20:19
Show Gist options
  • Save zaydek-old/1096dc70d3ffcf6f2d3382ee6391085d to your computer and use it in GitHub Desktop.
Save zaydek-old/1096dc70d3ffcf6f2d3382ee6391085d to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head></head>
<body></body>
</html>
<meta charset="utf-8"><script>for (var script of ['jquery.slim.min', 'func']) document.write('<script src="' + script + '.js"><\/script>')</script><script>'use strict'
// doc('Keenan Romain') // sets up and titles the document
// htm('<div id="example"></div>') // writes a div tag. Multiple arguments are parsed onto new lines
// htm.of("#example") // changes the scope of the document to #example
// htm.in('hello', 'world') // writes arguments in #example. Multiple arguments are parsed onto new lines
// htm.of() // resets scope to body instead of #example
// css() // writes arguments in style. Multiple arguments are parsed onto new lines
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment