Update examples for v2.0

This commit is contained in:
Justin Hileman
2012-02-29 18:02:36 -08:00
parent d2136d91b3
commit 1d116d1b77
40 changed files with 69 additions and 132 deletions
+2 -8
View File
@@ -7,10 +7,8 @@
* tags should strip leading and trailing whitespace in key names.
*
* `{{> tag }}` and `{{> tag}}` and `{{>tag}}` should all be equivalent.
*
* @extends Mustache
*/
class Whitespace extends Mustache {
class Whitespace {
public $foo = 'alpha';
public $bar = 'beta';
@@ -30,8 +28,4 @@ class Whitespace extends Mustache {
array('key with space' => 'G'),
);
}
protected $_partials = array(
'alphabet' => " * {{.}}\n",
);
}
}
@@ -0,0 +1 @@
* {{.}}