Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 23, 2015
  1. @awayken

    Added ability to space out section syntax

    awayken committed
    Tweaked the SectionRegEx to allow some arbitrary whitespace after the {{
    but before the # or / and then before the }}. Instead of requiring you
    to write: {{#is_old}} you can write {{ #is_old }}.
    Added tests for this new flexibility and to verify that this same space
    leniency already existed for tags.
Commits on Sep 4, 2012
  1. @dswitzer
Commits on Aug 29, 2012
  1. @dswitzer

    * Fixed issue w/whitespace management when a falsey condition appeare…

    dswitzer committed
    …d directly under a truey statement--like in an "else" like configuration
Commits on Aug 22, 2012
  1. @dswitzer

    * Added "options" argument to render which can be used to pass in opt…

    dswitzer committed
    …ions for when you need to overwrite a default behavior. This struct is passed to all major methods as a way to supply a thread-safe way to change behavior for a specific instance of a rendering
Commits on Apr 25, 2012
  1. @dswitzer

    * Added basic support for implicit iterators (i.e. {{.}} for arrays)

    dswitzer committed
    * Added unit tests for overrides & implicit iterators
  2. @dswitzer

    * Added textEncode() and htmlEncode() methods which can be used to ov…

    dswitzer committed
    …erride the default behavior of encoding
Commits on Apr 9, 2012
  1. @dswitzer
Commits on Apr 6, 2012
  1. @dswitzer

    * Changed renderLambda code so that it no longer uses evaluate()

    dswitzer committed
    * Added unit test for testing a function referenced in a struct
  2. @markmandel

    Move the lambda call into it's own method, so that it can be overwrit…

    markmandel committed
    …ten when extending Mustache.
    Remove regex caching - was causing a nasty memory leak.
Commits on Apr 5, 2012
  1. @markmandel
  2. @markmandel
  3. Merge pull request #5 from seancoyne/master

    More accurate unit tests for the custom tag version
  4. Merge pull request #4 from dswitzer/master

    Added better whitespace handling, support for dot notation, etc
Commits on Apr 4, 2012
  1. @seancoyne
  2. @dswitzer

    * Added removing empty lines at the head/tail of a template

    dswitzer committed
    * Added more unit tests for new features
    * Added unit tests showing complex template formatting
    * Added Helper.cfc for unit test helper functions
  3. @dswitzer

    * Added Application.cfc so unit tests can be run in any directory

    dswitzer committed
    (including sub-directories)
    * Added smart clean up of whitespace--this should reduce unwanted lines
    from being produced in your templates
    * Added onRenderTag event which can be used to apply additional
    formatting rules to the rendered content
    * Added support for dot notiation (which has been added to Mustache:
    mustache/mustache#6 (comment))
    * Fixed handling of multiline comments (all comments are now removed in
    the render() method)
    * Added better whitespace management for array and query blocks (to
    prevent extra empty lines between each input)
    * Added MustachePlus which shows how Ctemplate-style formatters could be
    added to the Mustache templating syntax
  4. @seancoyne

    adds mustache custom tag

    seancoyne committed
Commits on Mar 7, 2012
  1. @markmandel

    Expanded git ignore.

    markmandel committed
    Ability to register partials, both at runtime and globally.
    Also tidied up easier running of MXUnit Tests.
Commits on Mar 6, 2012
  1. code formatting and scoping

  2. fix bug where inverted section was rendering with if query, struct or…

    … array were not empty and logic was to render when they were emtpy
  3. Merge branch 'paul-master'

Commits on Oct 29, 2011
  1. Remove whitespace [ WhitespaceBot] Whitespace Robot committed
Commits on Oct 4, 2011
Commits on Oct 1, 2011
  1. evaluate empty collections as false

    closes issue #1
Commits on Jul 8, 2010
  1. @pmcelhaney
  2. @pmcelhaney
Commits on Jul 7, 2010
  1. @pmcelhaney

    Split up into mustache/ and tests/ directories. That revealed a coupl…

    pmcelhaney committed
    …e of bugs related to finding .mustache files that I had to fix.
Something went wrong with that request. Please try again.