Commit Graph
9 Commits
Author SHA1 Message Date
Justin Hileman 3e6b8102b7 Massive overhaul of Mustache.php's whitespace handling.
Move regex preparation into methods, use named subpatterns so the regex makes more sense. Fix the logic around eating newlines adjacent to tags. Update tests to reflect the changes.
2010-11-24 07:45:24 -05:00
Justin Hileman d026315a2c Even more ludicrous recursive section / implicit iterator tests. 2010-11-24 04:10:37 -05:00
Justin Hileman fef6234954 Test case for recursive sections with implicit iterators. 2010-11-24 04:02:19 -05:00
Justin Hileman 943aa8849a Add test groups for easier test breakdown. 2010-11-24 03:36:23 -05:00
Justin Hileman 568b6c8512 don't include phpunit in test cases. 2010-08-15 07:12:26 -04:00
Justin Hileman 06ee1f224a Fixed implicit iterator + dot notation tests, this feature is now ready to merge :) 2010-07-11 22:54:57 -04:00
Justin Hileman 2018449184 added test and known issue for dot notation/implicit iterator woes. 2010-06-02 02:08:54 -04:00
Justin Hileman 1330cf1d48 Updated implicit iterator test to reflect changes in mustache function names. 2010-05-23 00:48:43 -04:00
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