Skip to content

Commit

Permalink
Removed "snap:" from examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
mightybyte committed May 22, 2010
1 parent 79e4631 commit 708c53f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion examples/ex01/home.tpl
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</head> </head>
<body> <body>
<h1>Home Page</h1> <h1>Home Page</h1>
<snap:apply template="ex01/nav"/> <apply template="ex01/nav"/>
<p>Welcome to our home page.</p> <p>Welcome to our home page.</p>
</body> </body>
</html> </html>
4 changes: 2 additions & 2 deletions examples/ex02/home.tpl
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
<snap:apply template="ex02/default"> <apply template="ex02/default">
<h1>Home Page</h1> <h1>Home Page</h1>
<p>Welcome to XYZ Inc</p> <p>Welcome to XYZ Inc</p>
</snap:apply> </apply>
12 changes: 6 additions & 6 deletions examples/ex03/home.tpl
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,9 @@
<snap:apply template="ex03/default"> <apply template="ex03/default">
<snap:bind tag="header"> <bind tag="header">
<h1>XYZ Inc.</h1> <h1>XYZ Inc.</h1>
</snap:bind> </bind>
<snap:bind tag="main"> <bind tag="main">
<h1>Home Page</h1> <h1>Home Page</h1>
<p>Welcome to XYZ Inc</p> <p>Welcome to XYZ Inc</p>
</snap:bind> </bind>
</snap:apply> </apply>
2 changes: 1 addition & 1 deletion examples/test01.tpl
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
<root><snap:bind tag="foo"><snap:bind tag="foo">bar</snap:bind></snap:bind><foo/><foo/></root> <root><bind tag="foo"><bind tag="foo">bar</bind></bind><foo/><foo/></root>
2 changes: 1 addition & 1 deletion examples/test02.tpl
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,4 @@
<root><snap:bind tag="foo">***</snap:bind> <root><bind tag="foo">***</bind>
<foo/> <foo/>
This is a test <foo/> of the emergency broadcasting system. This is a test <foo/> of the emergency broadcasting system.
<foo/> <foo/>
Expand Down

0 comments on commit 708c53f

Please sign in to comment.