summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated to 1.0.0-rc.31.0.0-rc.3Peter Wagenet2013-02-143-6/+6
|
* Better error messages for precompiler runtime mismatchPeter Wagenet2013-02-095-11/+75
|
* Decouple compiler version checks from release versionsPeter Wagenet2013-02-085-10/+13
|
* Merge pull request #429 from machty/extension-supportYehuda Katz2013-02-075-23/+50
|\ | | | | Open Handlebars compilation to externally-compiled AST
| * Handlebars.parse/precompile/compile can now be passed an already-compiled ↵machty2013-02-075-23/+50
|/ | | | Handlebars AST.
* Merge pull request #424 from wagenet/version-check-v2Yehuda Katz2013-01-304-14/+23
|\ | | | | Improved precompile template version check
| * Improved precompile template version checkPeter Wagenet2013-01-304-14/+23
|/ | | | | This check reduces duplicated code as well as also failing if the template was precompiled on a version before the check was added.
* Merge pull request #420 from wagenet/version-checkYehuda Katz2013-01-292-0/+14
|\ | | | | Check version when evaluating templates.
| * Check version when evaluating templates.Peter Wagenet2013-01-292-0/+14
|/ | | | | This makes sure that we throw an error when a template was precompiled with a version of Handlebars that doesn't match the evaluating version.
* Rebuildkpdecker2013-01-211-70/+217
|
* Merge pull request #412 from wycats/inline-opsKevin Decker2013-01-211-70/+217
|\ | | | | Inline ops
| * mergeSource helperkpdecker2013-01-211-10/+14
| |
| * Merge duplicate programskpdecker2013-01-211-6/+43
| |
| * Remove inline option from pushStackkpdecker2013-01-211-13/+9
| |
| * Use push rather than pushStack for inline opskpdecker2013-01-211-11/+11
| |
| * Make replaceStack always inlinekpdecker2013-01-201-6/+6
| |
| * Merge branch 'master' into inline-opskpdecker2013-01-204-6/+52
| |\
| * | Formatting updates for inlined contentkpdecker2013-01-201-2/+2
| | |
| * | Merge consecutive buffer appendskpdecker2013-01-201-10/+30
| | |
| * | Use options register for blockHelperMissingkpdecker2013-01-201-4/+9
| | |
| * | Inline known helper callskpdecker2013-01-201-1/+1
| | |
| * | Use stack rather than register for invoke lookupkpdecker2013-01-201-4/+6
| | |
| * | Prevent duplication of inline content in appendkpdecker2013-01-201-0/+3
| | |
| * | Update 2nd level opcodes to use inlineskpdecker2013-01-191-11/+19
| | |
| * | Allow replaceStack to work with the inline stackkpdecker2013-01-191-8/+35
| | |
| * | Use inline values for simple terminalskpdecker2013-01-191-4/+5
| | |
| * | Inline stack helper implementationkpdecker2013-01-191-16/+48
| | |
| * | Merge branch 'master' into inline-opskpdecker2013-01-191-4/+3
| |\ \
| * | | Reuse stack var to avoid registerkpdecker2013-01-191-2/+1
| | | |
| * | | Output options only once to unknownHelper casekpdecker2013-01-191-6/+12
| | | |
| * | | Merge branch 'master' into inline-opskpdecker2013-01-191-2/+15
| |\ \ \
| * | | | Empty hash literal outputkpdecker2013-01-191-4/+11
| | | | |
| * | | | Inline foundHelper lookupkpdecker2013-01-191-4/+4
| | | | |
* | | | | Merge pull request #414 from leshill/leading_context_onlyYehuda Katz2013-01-213-4/+32
|\ \ \ \ \ | |_|_|_|/ |/| | | | Only allow `this` or `..` to lead a path
| * | | | Only allow 'this' or '..' to lead a pathLes Hill2013-01-213-4/+32
|/ / / / | | | | | | | | | | | | Paths like 'outer/../key' raise an exception when compiling.
* | | | Rebuild distkpdecker2013-01-202-4/+51
| | | |
* | | | Add LICENSE to built filekpdecker2013-01-202-2/+1
| |_|/ |/| | | | | Fixes #411
* | | Remove unused varskpdecker2013-01-191-4/+3
| |/ |/|
* | Expand literal syntax testskpdecker2013-01-191-2/+9
| |
* | Make equals without messages more resilientkpdecker2013-01-191-0/+6
|/ | | | | When called without a message parameter the tests would fail under some environments. I'm not clear on what is causing the failure, perhaps ruby version, but this patch cleans up the issues there.
* Includ dist in npm packagekpdecker2013-01-191-1/+0
|
* 1.0.8v1.0.8kpdecker2013-01-191-1/+1
|
* Update version1.0.rc.2tomhuda2013-01-183-3/+3
|
* Remove dist/ from `gitignore`tomhuda2013-01-183-1/+2263
|
* Boolean("false") === truetomhuda2013-01-182-4/+5
|
* Must pop the stack extra for hashestomhuda2013-01-182-2/+6
|
* Add support for getting types in string modeYehuda Katz2013-01-163-22/+82
| | | | | This makes it possible to determine whether an argument was passed as a string or as a path when implementing helpers in string mode.
* Expand helperMissing test coveragekpdecker2013-01-141-8/+17
| | | Fixes #216
* Update benchmark suite for node 0.8kpdecker2013-01-144-50/+48
|
* Prevent write on all depth variableskpdecker2013-01-132-3/+3
|
* Prevent context overwrite by replaceStackkpdecker2013-01-132-7/+26
| | | Fixes #408.
* Remove duplicate assignmentkpdecker2013-01-131-1/+1
|
* Add namespace arg to handlebars binkpdecker2013-01-131-1/+11
| | | Fixes #361
* Merge branch 'travis-node-test'kpdecker2013-01-132-4/+11
|\
| * Chain npm tests to rspec testskpdecker2013-01-131-1/+7
| |
| * Use npm package for jison managementkpdecker2013-01-132-3/+4
| |
* | Merge branch 'master' of github.com:wycats/handlebars.jskpdecker2013-01-132-3/+3
|\ \ | |/ |/|
| * Merge pull request #400 from lushchick/masterKevin Decker2013-01-131-1/+1
| |\ | | | | | | Removed unnecessary semicolon to pass JSHint for compiled code
| | * Removed unnecessary semicolon, which is needed to pass JSHint for compiled codeAndrey Lushchick2012-12-271-1/+1
| | |
| * | Merge pull request #402 from banks/masterKevin Decker2013-01-131-2/+2
| |\ \ | | | | | | | | README example typo (properly fixed)
| | * | Duh. The example WAS right just really confusing due to bad variable namingPaul Banks2012-12-301-1/+1
| | | |
| | * | Fix typo in readme examplePaul Banks2012-12-301-1/+1
| | |/
* | | Simplify isEmptykpdecker2013-01-131-5/+1
|/ /
* | Use jsmodule for jison parserkpdecker2013-01-134-3/+8
| | | | | | | | | | Removes unnecessary commonjs code generated for the parser. This reduces the size of the parse by about 700bytes and should resolve lookup issues with browserify and other static analysis tools. See #220
* | Cleanup testskpdecker2013-01-131-3/+3
| | | | | | jshint and fixup arg passing
* | Merge branch 'fix_specs' of github.com:leshill/handlebars.js into ↵kpdecker2013-01-131-2/+3
|\ \ | | | | | | | | | leshill-fix_specs
| * | Fix spec for 8df8488Les Hill2013-01-061-2/+3
| | |
* | | Pin rubyracer version to 0.10kpdecker2013-01-133-7/+32
| | | | | | | | | This is a temporary fix. See https://github.com/wycats/handlebars.js/pull/405#issuecomment-12013108
* | | Update to therubyracer 0.11.1kpdecker2013-01-081-2/+4
|/ /
* | Merge remote-tracking branch 'upstream/master'kpdecker2012-12-3012-82/+259
|\ \ | |/
| * Upgrade to latest TRRYehuda Katz2012-12-232-37/+10
| |
| * Fill in missing specsYehuda Katz2012-12-231-3/+8
| |
| * Merge pull request #347 from spikebrehm/masterYehuda Katz2012-12-232-12/+21
| |\ | | | | | | Makes Handlebars.log available in both builds and fleshes out `log` helper.
| | * overzealous approach to implmenting Handlebars.logger.log and 'log' helper.Spike Brehm2012-10-202-12/+21
| | |
| * | Merge pull request #388 from dmarcotte/empty-inverse-blocksYehuda Katz2012-12-232-1/+128
| |\ \ | | | | | | | | Allow empty blocks around simple inverses
| | * | Allow empty blocks around simple inversesDaniel Marcotte2012-12-112-1/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the parser required at least one character of whitespace to properly interpret empty blocks around simple inverses, which was non-intuitive and inconsistent with empty block parsing. Update the parser to allow empty blocks around simple inverses.
| * | | Merge pull request #389 from leshill/partial_namesYehuda Katz2012-12-238-27/+55
| |\ \ \ | | | | | | | | | | Partials can be paths
| | * | | Test for #84Les Hill2012-12-131-0/+8
| | | | |
| | * | | Partials can be pathsLes Hill2012-12-138-27/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows partials with slashes, a common partial syntax. For example: {{> shared/dude}}
| * | | | Merge pull request #390 from eastridge/masterYehuda Katz2012-12-232-2/+23
| |\ \ \ \ | | | | | | | | | | | | Make {data: true} a default compile option
| | * | | | Add data = true as default optionRyan Eastridge2012-12-131-2/+6
| | | | | |
| | * | | | Add failing unit test for private variablesRyan Eastridge2012-12-121-0/+17
| | | | | |
| * | | | | Get a better error for compile(falsy)Yehuda Katz2012-12-232-0/+14
| |/ / / /
* | | | | Merge remote-tracking branch 'upstream/master'kpdecker2012-12-191-0/+16
|\ \ \ \ \ | |/ / / /
| * | | | Merge pull request #374 from bkaull/masterKevin Decker2012-12-111-0/+16
| |\ \ \ \ | | |/ / / | | | / / | | |/ / | |/| | Adding precompilation of partials
| | * | Update bin/handlebarsBrian Kaull2012-12-111-1/+1
| | | |
| | * | Adding partial precompilationBrian Kaull2012-11-261-1/+17
| |/ / | | | | | | Also allowing to compile based on data getting passed in
* | | Merge branch 'master' of https://github.com/wycats/handlebars.jskpdecker2012-12-0212-43/+168
|\ \ \ | |/ / | | | | | | | | | Conflicts: package.json
| * | Merge pull request #371 from cpojer/commonjs-export-optionKevin Decker2012-11-251-2/+10
| |\ \ | | | | | | | | Add CommonJS export option for template compilation.
| | * | Add CommonJS export option for template compilation.cpojer2012-11-221-2/+10
| |/ /
| * | Fix handling of Errors in ChromePeter Wagenet2012-11-022-9/+25
| |/
| * Add block comment syntax:Yehuda Katz2012-10-152-1/+16
| | | | | | | | {{!-- can contain {{handlebars expressions}} --}}
| * Merge pull request #339 from mikesherov/eachYehuda Katz2012-10-152-8/+42
| |\ | | | | | | {{#each}} now supports objects [rebased against master]
| | * Added unit tests for #each with objectsMike Petrovich2012-10-151-2/+23
| | |
| | * Implemented ability to iterate over objects, ala for-in.Ross Hadden2012-10-151-6/+19
| |/ | | | | | | | | | | Also added the 'key' key to looped objects. My goal is to make this {{@key}}, but am still working on it. I would also like to unobtrusively make @key or @index work for arrays.
| * Merge pull request #290 from fancyoung/masterYehuda Katz2012-10-121-2/+2
| |\ | | | | | | Fix demo bug in README
| | * Update README.markdownfancyoung2012-08-141-2/+2
| | | | | | | | | fix doc demo bug.
| * | Merge pull request #295 from leshill/escaped_quotesYehuda Katz2012-10-122-1/+13
| |\ \ | | | | | | | | Escaped quotes in hash arguments
| | * | Escaped single quotes in hash argumentsLes Hill2012-09-222-1/+13
| | | |
| * | | Merge pull request #334 from anton-rudeshko/masterYehuda Katz2012-10-101-1/+2
| |\ \ \ | | | | | | | | | | Added AMD option doc to README