Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
added missing context var to templates in coffeekup example
Browse files Browse the repository at this point in the history
  • Loading branch information
kadirpekel committed Jun 20, 2011
1 parent 3ac8fe3 commit 0768cdf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions examples/coffeekup/views/main.coffeekup
Expand Up @@ -2,6 +2,9 @@ html ->
head head
body -> body ->
h1 "A cup of coffee demonstration" h1 "A cup of coffee demonstration"
include "nested1" div ->
include "nested2" include "nested1"
include "nested3" div ->
include "nested2"
div ->
include "nested3"
2 changes: 1 addition & 1 deletion examples/coffeekup/views/nested1.coffeekup
@@ -1,2 +1,2 @@
p -> p ->
highlight "#0ff", "This is a highlighted text" highlight "#0ff", "This is a highlighted #{@foo}"
2 changes: 1 addition & 1 deletion examples/coffeekup/views/nested2.coffeekup
@@ -1,2 +1,2 @@
p -> p ->
highlight "#f00", "This is a highlighted text" highlight "#f00", "This is a highlighted #{@foo}"
2 changes: 1 addition & 1 deletion examples/coffeekup/views/nested3.coffeekup
@@ -1,2 +1,2 @@
p -> 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.