Permalink
Browse files

added missing context var to templates in coffeekup example

  • Loading branch information...
1 parent 3ac8fe3 commit 0768cdf154a035ef4ccd7235a29eebce357ff8de @kadirpekel committed Jun 20, 2011
@@ -2,6 +2,9 @@ html ->
head
body ->
h1 "A cup of coffee demonstration"
- include "nested1"
- include "nested2"
- include "nested3"
+ div ->
+ include "nested1"
+ div ->
+ include "nested2"
+ div ->
+ include "nested3"
@@ -1,2 +1,2 @@
p ->
- highlight "#0ff", "This is a highlighted text"
+ highlight "#0ff", "This is a highlighted #{@foo}"
@@ -1,2 +1,2 @@
p ->
- highlight "#f00", "This is a highlighted text"
+ highlight "#f00", "This is a highlighted #{@foo}"
@@ -1,2 +1,2 @@
p ->
- highlight "#ff0", "This is a highlighted text"
+ highlight "#ff0", "This is a highlighted #{@foo}"

0 comments on commit 0768cdf

Please sign in to comment.