Permalink
Browse files

jsml

  • Loading branch information...
1 parent 85711b0 commit ba061ab25ba9175c2dfd091ef3c326386fed5d80 @jeffsu committed Mar 31, 2011
Showing with 6 additions and 5 deletions.
  1. +6 −5 tests/src/jsml.js2
View
@@ -1,10 +1,11 @@
console.log('hi');
var text = <<END:jsml
- %div
- .hello
- .world
- %span Hello world
- = this.hello
+ - if (this.hello) {
+ %div
+ .hello
+ .world
+ %span Hello world
+ = this.hello
END
console.log(text.result({ hello:"yo" }));

0 comments on commit ba061ab

Please sign in to comment.