Switch branches/tags
Nothing to show
Commits on Dec 12, 2010
  1. Allow helperMissing to apply to simple mustaches (paves the way to su…

    wycats committed Dec 12, 2010
    …pport things like link_to in a Rails context)
  2. Make it possible to register helpers and partials and then skip passi…

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

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

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

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

    wycats committed Dec 3, 2010
    * 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:

    wycats committed Dec 3, 2010
    * 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.

    wycats committed Dec 2, 2010
  2. Fix a number of outstanding issues:

    wycats committed Dec 2, 2010
    * {{}} 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…

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

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

    wycats committed Nov 26, 2010
  2. Make the ID node capable of handling paths

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

    wycats committed Nov 25, 2010
  2. Explain something in the lexer

    wycats committed Nov 25, 2010
  3. Initial commit. Note that I'm using CommonJS modules and node purely …

    wycats committed Nov 25, 2010
    …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.