Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 12, 2010
  1. Allow helperMissing to apply to simple mustaches (paves the way to su…

    …pport things like link_to in a Rails context)
  2. Make it possible to register helpers and partials and then skip passi…

    …ng in the helpers or partials later
  3. Improve compiling infrastructure, and restore a bit of duplication in…

    … spec_helper to make debugging easier in test failures
Commits on Dec 5, 2010
  1. linting

Commits on Dec 4, 2010
  1. Fix up the compilation process

Commits on Dec 3, 2010
  1. Finish compatibility with the old handlebars:

    * foo"bar" is an invalid param
    * {{foo}}bar{{/baz}} is invalid
    * fix a number of issues with inverse sections
    * add partials
  2. A few more lingering bugs:

    * add helperMissing.not to the specs
    * add Handlebars.Utils.isEmpty
    * add runtime handling for inverse sections
    * fix __get__ to pass an IdNode to evaluate
    * handle case in wrapProgram where context is undefined
Commits on Dec 2, 2010
  1. Allow empty blocks.

  2. Fix a number of outstanding issues:

    * {{}} escape their contents, {{{}}} and {{& }} do not
    * Add support in the parser, tokenizer and AST for partials
      with context (support is still not there in the runtime)
    * Fix some inconsistencies with the old behavior involving
      the correct printing of null and undefined
    * Add Handlebars.Exception
    * Fixed an issue involving ./foo and this/foo
    * Fleshed out helperMissing in the specs (this will be
      moved out into handlebars proper once registerHelper
      and registerPartial are added)
Commits on Nov 29, 2010
  1. Got Qunit tests running through RSpec and fixed a bunch of bugs... 33…

    … fails from the original suite to go
Commits on Nov 27, 2010
  1. Add initial support for blocks

Commits on Nov 26, 2010
  1. Start working on the runtime

  2. Make the ID node capable of handling paths

      TODO: handle invalid paths in the tokenizer or parser
      TODO: invalidate "{{ foo/ bar }}"
Commits on Nov 25, 2010
  1. Add a Gemfile for testing

  2. Explain something in the lexer

  3. Initial commit. Note that I'm using CommonJS modules and node purely …

    …to help me develop this. If this ends up being useful, I will likely distribute the entire package as a single JS file for easier consumption in the browser.
Something went wrong with that request. Please try again.