Commits on Mar 1, 2011
  1. Merge branch 'hotfix/0.5.2'

    committed Mar 1, 2011
  2. Check whether context item is an array before using it.

    Fixes #24. This will be necessary once implicit iterators make it into production. It will also save people from themselves if they put an iterable array where Mustache expects to find a context.
    committed Mar 1, 2011
Commits on Dec 14, 2010
  1. Merge branch 'hotfix/0.5.1'

    committed Dec 14, 2010
  2. Fixes #25

    lukemorton committed with Dec 14, 2010
Commits on Dec 8, 2010
  1. Merge branch 'release/0.5.0'

    committed Dec 8, 2010
  2. Update README.

    committed Dec 8, 2010
  3. Comment out lambda tests.

    Lambdas aren't currently implemented in Mustache.php, and the parser we're using doesn't like the lambdas yaml file so it's throwing exceptions :(
    committed Dec 8, 2010
  4. Cleanup.

    Make RegEx variable capitalization consistent. Add docblocks for prepareFooRegEx functions.
    committed Dec 8, 2010
Commits on Nov 26, 2010
  1. Optimize dot notation check

    Don't try to traverse dot notation unless there's a dot in the variable name.
    committed Nov 26, 2010
  2. Remove an extra trim();

    committed Nov 26, 2010
  3. Pre-escape tag type constants (saves us from doing it each time the r…

    …egex strings are prepared)
    committed Nov 26, 2010
  4. Updating _renderTag logic around leftover section tags.

    Exceptions are now thrown by _renderSections, so anything left over by the time _renderTag executes should just be discarded.
    committed Nov 26, 2010
Commits on Nov 24, 2010
  1. 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.
    committed Nov 24, 2010
  2. Swap out spyc for sfYaml.

    spyc has a parsing bug which causes partials to fail. I mean, they fail for other reasons too. And we're getting to those. But we don't need to debug YAML parsers while we're at it.
    committed Nov 24, 2010
  3. More correct sections implementation.

    Allows nested sections of the same name, throws exceptions on incorrectly nested sections, e.g.:
    Add a set of tests for incorrectly nested sections.
    committed Nov 24, 2010