@@ -1,17 +1,17 @@ | |||
var T = require("./jst.js"); | |||
console.log(T.html([ | |||
T.head([ | |||
console.log(T.html( | |||
T.head( | |||
T.title("This is a Test") | |||
]), | |||
T.body([ | |||
), | |||
T.body( | |||
T.h1("Hello World!"), | |||
T.p([ | |||
T.p( | |||
"This is a bit of text ", | |||
T.i("with italics!"), | |||
" so go figure!" | |||
], "red green blue"), | |||
T.a("LINK", null, {href:"www.google.com"}) | |||
]) | |||
]).toString()); | |||
, {"class":"red green blue"}), | |||
T.a("LINK", {href:"www.google.com"}) | |||
) | |||
).toString()); |