Browse Source

Updated test.

dev-tmpl
Bryan Miller 5 years ago
parent
commit
cbb9394953
1 changed files with 9 additions and 9 deletions
  1. +9
    -9
      jst/test.js

+ 9
- 9
jst/test.js View File

@@ -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());

Loading…
Cancel
Save