Justin Hileman
20ace3e74c
Implemented implicit iterator pragma.
...
Fixed getPragmaOptions to return empty array if no options are set.
Fixed getVariable to return exact variable name matches before dot notation matches (i.e. the default iterator -- '.' -- will match the iterator and not try to do some crazy dot notation parsing.
2010-04-29 22:49:50 -04:00
Justin Hileman
0ff5a33505
Updated dot-notation example to include {{%PRAGMA}} tag.
2010-04-29 20:46:35 -04:00
Justin Hileman
ad83344900
Merge branch 'dev' into feature/pragma-dot-notation
...
Conflicts:
README.markdown
2010-04-26 22:03:03 -04:00
Justin Hileman
5a819a33da
Fix for missing child context in sections.
2010-04-26 21:49:54 -04:00
Justin Hileman
a66e494e6e
Merge branch 'release/0.1'
...
Conflicts:
examples/complex/complex.php
2010-04-26 21:15:59 -04:00
Justin Hileman
81fa51c1af
Simplified dot notation example, fixed sample output.
2010-04-26 20:33:54 -04:00
Justin Hileman
f0d171aed6
Merge branch 'dev' into feature/pragma-dot-notation
2010-04-26 20:27:07 -04:00
Justin Hileman
57a6aafff1
Fixed complex example to use inverted sections rather than fancy ruby-ish context swizzling (which never worked in PHP anyway).
2010-04-26 19:01:57 -04:00
Justin Hileman
fc170fca11
Add inverted section.
2010-04-26 18:58:58 -04:00
Justin Hileman
818a07a64a
Added more complex dot notation example (from defunkt/mustache).
2010-04-23 14:14:06 -04:00
Justin Hileman
d2ff6fa1ac
Example for dot notation pragma.
2010-04-23 13:46:39 -04:00
Justin Hileman
05767e3b74
Trailing whitespace cleanup.
2010-04-06 01:11:27 -04:00
Justin Hileman
1ede993bb3
Added double section, escaped output, utf8 escaped and utf8 unescaped examples.
2010-04-06 00:54:45 -04:00
Justin Hileman
4059c4da00
Two new examples: 'delimiters' and 'sections'. Would be more exciting if 50% of new examples didn't fail :)
2010-04-06 00:24:33 -04:00
Justin Hileman
26aad7b490
Complex example was a direct port of ruby/javascript complex example, resulting in some methods named with PHP reserved keywords. Fixing that oversight.
2010-04-05 23:55:29 -04:00
Justin Hileman
a93feb2f78
Fixed trailing newline in simple example output.
2010-04-05 23:54:10 -04:00
Justin Hileman
5e99b15252
Adding examples.
2010-03-30 14:57:18 -04:00