Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update to 1.0.0 final | kpdecker | 2013-05-31 | 1 | -1/+1 |
| | |||||
* | Merge global and passed helpers and partials | kpdecker | 2013-05-31 | 3 | -4/+16 |
| | |||||
* | Allow execution of helpers on the context | kpdecker | 2013-05-30 | 1 | -1/+2 |
| | | | Fixes #285 | ||||
* | Allow function arguments to with and each | kpdecker | 2013-05-29 | 1 | -0/+6 |
| | | | | Via @mcdan Fixes #239 | ||||
* | improve error message on missing helper | kpdecker | 2013-05-29 | 1 | -1/+1 |
| | | | | Via @stefanpenner Fixes #523 | ||||
* | Allow ID, STRING, or INTEGER for partial name | kpdecker | 2013-05-29 | 1 | -1/+1 |
| | | | Fixes #519 | ||||
* | Protect from object prototype modifications | kpdecker | 2013-05-28 | 1 | -1/+3 |
| | | | | Fixes #534 | ||||
* | Improve tracking of original path values | kpdecker | 2013-05-27 | 1 | -7/+12 |
| | |||||
* | Add support for complex ids in @data references | kpdecker | 2013-05-27 | 2 | -3/+11 |
| | |||||
* | Use better variable name | kpdecker | 2013-05-21 | 1 | -6/+6 |
| | |||||
* | Rev to rc4 | kpdecker | 2013-05-13 | 1 | -1/+1 |
| | |||||
* | added local pointer to handlerbars.utils to allow this to browserify ↵ | Tommy Messbauer | 2013-05-09 | 1 | -0/+2 |
| | | | | properly for IE | ||||
* | Merge pull request #454 from leshill/fix_string_mode_contexts | Kevin Decker | 2013-04-07 | 1 | -2/+13 |
|\ | | | | | Add contexts for string mode hash values | ||||
| * | Add contexts for string mode hash values | Les Hill | 2013-03-19 | 1 | -2/+13 |
| | | | | | | | | Allows for evaluating hash parameters such as ../city in string mode. | ||||
* | | Allow multiple partial and helper registration | kpdecker | 2013-04-07 | 2 | -5/+24 |
| | | | | | | | | | | | | Fixes #369 | ||||
* | | Merge branch 'program-metadata' | kpdecker | 2013-04-07 | 3 | -19/+19 |
|\ \ | |||||
| * | | Add program metadata | kpdecker | 2013-02-17 | 3 | -19/+19 |
| | | | | | | | | | | | | | | | | | | Include program id and depth on the generated wrapper objects. This allows helpers who are passed these objects to differentiate between helpers for cases where they may want to cache the generated DOM structure. | ||||
* | | | Restore knownHelpersOnly throw | kpdecker | 2013-04-06 | 1 | -1/+1 |
| | | | | | | | | | Fixes #302 | ||||
* | | | Allow compilation of empty string | kpdecker | 2013-04-06 | 1 | -2/+2 |
| | | | | | | | | | Fixes #461 | ||||
* | | | Escape unicode newlines in string literals | kpdecker | 2013-04-06 | 1 | -1/+3 |
| | | | | | | | | | Fixes #375 | ||||
* | | | Force toString in escapeExpression | kpdecker | 2013-04-06 | 1 | -0/+5 |
| |/ |/| | | | Fixes #211 | ||||
* | | Merge pull request #213 from thejohnfreeman/master | Kevin Decker | 2013-03-13 | 1 | -1/+1 |
|\ \ | | | | | | | Block helper "with" should check for empty context | ||||
| * | | block helper "with" should check for empty context | John Freeman | 2012-03-31 | 1 | -1/+1 |
| | | | |||||
* | | | Added handlebars-source gemspec for sharing with 3rd party precompilation libs | machty | 2013-02-20 | 1 | -0/+11 |
| |/ |/| | |||||
* | | Create new options object for unless nesting | kpdecker | 2013-02-16 | 1 | -5/+1 |
| | | | | | | Fixes #343 | ||||
* | | Fix #428 nested if else rendering | kpdecker | 2013-02-16 | 1 | -0/+11 |
| | | | | | | | | The program equality checker was not taking children into account when determining equality, causing breakages under similar cases. | ||||
* | | Merge pull request #442 from tricknotes/fix-method-name-in-error-message | Kevin Decker | 2013-02-16 | 1 | -1/+1 |
|\ \ | | | | | | | Fix method name in error message | ||||
| * | | Fix method name in error message | Ryunosuke SATO | 2013-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | - compile -> precompile | ||||
* | | | Use local vars | kpdecker | 2013-02-16 | 1 | -4/+4 |
| | | | |||||
* | | | Move Handlerbars.print into printer file | kpdecker | 2013-02-16 | 2 | -3/+4 |
| | | | |||||
* | | | Remove unnecessary child scopes | kpdecker | 2013-02-16 | 2 | -1078/+1073 |
| | | | |||||
* | | | browser-prefix/suffix templates | kpdecker | 2013-02-16 | 3 | -5/+5 |
| | | | |||||
* | | | Remove unused scope function | kpdecker | 2013-02-16 | 1 | -101/+98 |
|/ / | |||||
* | | Restore module scope in base.js | kpdecker | 2013-02-15 | 1 | -6/+7 |
| | | |||||
* | | Merge branch 'master' of github.com:tommydudebreaux/handlebars.js into ↵ | kpdecker | 2013-02-15 | 9 | -27/+67 |
|\ \ | | | | | | | | | | tommydudebreaux-master | ||||
| * | | tests passing | Tommy Messbauer | 2013-02-11 | 2 | -2/+2 |
| | | | |||||
| * | | merge | Tommy Messbauer | 2013-02-11 | 7 | -197/+447 |
| |\ \ | |||||
| * | | | restored scope of var verifyMatch | Tommy Messbauer | 2013-02-11 | 1 | -6/+6 |
| | | | | |||||
| * | | | Merged upstream master and ran unit tests | Tommy Messbauer | 2012-11-26 | 5 | -22/+34 |
| |\ \ \ | |||||
| * | | | | Factory update with tabs to spaces.. sorry :( | Tommy Messbauer | 2012-11-26 | 9 | -1365/+1365 |
| | | | | | |||||
| * | | | | Finished factory pattern | Tommy Messbauer | 2012-08-29 | 2 | -3/+4 |
| | | | | | |||||
| * | | | | Commiting initial factory code | Tommy Messbauer | 2012-08-29 | 9 | -1240/+1280 |
| | | | | | |||||
* | | | | | Updated to 1.0.0-rc.31.0.0-rc.3 | Peter Wagenet | 2013-02-14 | 1 | -2/+2 |
| |_|/ / |/| | | | |||||
* | | | | Better error messages for precompiler runtime mismatch | Peter Wagenet | 2013-02-09 | 3 | -4/+26 |
| | | | | |||||
* | | | | Decouple compiler version checks from release versions | Peter Wagenet | 2013-02-08 | 3 | -3/+4 |
| | | | | |||||
* | | | | Handlebars.parse/precompile/compile can now be passed an already-compiled ↵ | machty | 2013-02-07 | 2 | -10/+14 |
| | | | | | | | | | | | | | | | | Handlebars AST. | ||||
* | | | | Improved precompile template version check | Peter Wagenet | 2013-01-30 | 2 | -6/+8 |
| | | | | | | | | | | | | | | | | | | | | This check reduces duplicated code as well as also failing if the template was precompiled on a version before the check was added. | ||||
* | | | | Check version when evaluating templates. | Peter Wagenet | 2013-01-29 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Merge pull request #412 from wycats/inline-ops | Kevin Decker | 2013-01-21 | 1 | -70/+217 |
|\ \ \ \ | | | | | | | | | | | Inline ops | ||||
| * | | | | mergeSource helper | kpdecker | 2013-01-21 | 1 | -10/+14 |
| | | | | | |||||
| * | | | | Merge duplicate programs | kpdecker | 2013-01-21 | 1 | -6/+43 |
| | | | | | |||||
| * | | | | Remove inline option from pushStack | kpdecker | 2013-01-21 | 1 | -13/+9 |
| | | | | | |||||
| * | | | | Use push rather than pushStack for inline ops | kpdecker | 2013-01-21 | 1 | -11/+11 |
| | | | | | |||||
| * | | | | Make replaceStack always inline | kpdecker | 2013-01-20 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Formatting updates for inlined content | kpdecker | 2013-01-20 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Merge consecutive buffer appends | kpdecker | 2013-01-20 | 1 | -10/+30 |
| | | | | | |||||
| * | | | | Use options register for blockHelperMissing | kpdecker | 2013-01-20 | 1 | -4/+9 |
| | | | | | |||||
| * | | | | Inline known helper calls | kpdecker | 2013-01-20 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Use stack rather than register for invoke lookup | kpdecker | 2013-01-20 | 1 | -4/+6 |
| | | | | | |||||
| * | | | | Prevent duplication of inline content in append | kpdecker | 2013-01-20 | 1 | -0/+3 |
| | | | | | |||||
| * | | | | Update 2nd level opcodes to use inlines | kpdecker | 2013-01-19 | 1 | -11/+19 |
| | | | | | |||||
| * | | | | Allow replaceStack to work with the inline stack | kpdecker | 2013-01-19 | 1 | -8/+35 |
| | | | | | |||||
| * | | | | Use inline values for simple terminals | kpdecker | 2013-01-19 | 1 | -4/+5 |
| | | | | | |||||
| * | | | | Inline stack helper implementation | kpdecker | 2013-01-19 | 1 | -16/+48 |
| | | | | | |||||
| * | | | | Merge branch 'master' into inline-ops | kpdecker | 2013-01-19 | 1 | -4/+3 |
| |\ \ \ \ | |||||
| * | | | | | Reuse stack var to avoid register | kpdecker | 2013-01-19 | 1 | -2/+1 |
| | | | | | | |||||
| * | | | | | Output options only once to unknownHelper case | kpdecker | 2013-01-19 | 1 | -6/+12 |
| | | | | | | |||||
| * | | | | | Empty hash literal output | kpdecker | 2013-01-19 | 1 | -4/+11 |
| | | | | | | |||||
| * | | | | | Inline foundHelper lookup | kpdecker | 2013-01-19 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Only allow 'this' or '..' to lead a path | Les Hill | 2013-01-21 | 1 | -2/+5 |
| |/ / / / |/| | | | | | | | | | | | | | | Paths like 'outer/../key' raise an exception when compiling. | ||||
* | | | | | Remove unused vars | kpdecker | 2013-01-19 | 1 | -4/+3 |
|/ / / / | |||||
* | | | | Update version1.0.rc.2 | tomhuda | 2013-01-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Boolean("false") === true | tomhuda | 2013-01-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | Must pop the stack extra for hashes | tomhuda | 2013-01-18 | 1 | -0/+1 |
| | | | | |||||
* | | | | Add support for getting types in string mode | Yehuda Katz | 2013-01-16 | 2 | -10/+44 |
| | | | | | | | | | | | | | | | | | | | | This makes it possible to determine whether an argument was passed as a string or as a path when implementing helpers in string mode. | ||||
* | | | | Prevent write on all depth variables | kpdecker | 2013-01-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Prevent context overwrite by replaceStack | kpdecker | 2013-01-13 | 1 | -7/+14 |
| | | | | | | | | | | | | Fixes #408. | ||||
* | | | | Remove duplicate assignment | kpdecker | 2013-01-13 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'master' of github.com:wycats/handlebars.js | kpdecker | 2013-01-13 | 1 | -1/+1 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #400 from lushchick/master | Kevin Decker | 2013-01-13 | 1 | -1/+1 |
| |\ \ \ \ | | | | | | | | | | | | | Removed unnecessary semicolon to pass JSHint for compiled code | ||||
| | * | | | | Removed unnecessary semicolon, which is needed to pass JSHint for compiled code | Andrey Lushchick | 2012-12-27 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Simplify isEmpty | kpdecker | 2013-01-13 | 1 | -5/+1 |
|/ / / / / | |||||
* | | | | | Use jsmodule for jison parser | kpdecker | 2013-01-13 | 1 | -1/+1 |
|/ / / / | | | | | | | | | | | | | | | | | 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 | ||||
* | | | | Merge pull request #347 from spikebrehm/master | Yehuda Katz | 2012-12-23 | 2 | -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 Brehm | 2012-10-20 | 2 | -12/+21 |
| | | | | | |||||
* | | | | | Merge pull request #389 from leshill/partial_names | Yehuda Katz | 2012-12-23 | 3 | -10/+16 |
|\ \ \ \ \ | | | | | | | | | | | | | Partials can be paths | ||||
| * | | | | | Partials can be paths | Les Hill | 2012-12-13 | 3 | -10/+16 |
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | Allows partials with slashes, a common partial syntax. For example: {{> shared/dude}} | ||||
* | | | | | Merge pull request #390 from eastridge/master | Yehuda Katz | 2012-12-23 | 1 | -2/+6 |
|\ \ \ \ \ | | | | | | | | | | | | | Make {data: true} a default compile option | ||||
| * | | | | | Add data = true as default option | Ryan Eastridge | 2012-12-13 | 1 | -2/+6 |
| |/ / / / | |||||
* | | | | | Get a better error for compile(falsy) | Yehuda Katz | 2012-12-23 | 1 | -0/+8 |
|/ / / / | |||||
* | | | | Fix handling of Errors in Chrome | Peter Wagenet | 2012-11-02 | 1 | -4/+6 |
|/ / / | |||||
* | | | Implemented ability to iterate over objects, ala for-in. | Ross Hadden | 2012-10-15 | 1 | -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. | ||||
* | | | Bind functions to the context properly. | Tyson Tate | 2012-09-19 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | The regression was introduced in 1.0.rc.1. This fixes issue #317. | ||||
* | | | Merge pull request #198 from codekitchen/master | Yehuda Katz | 2012-09-14 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | properly handle ampersands when HTML escaping | ||||
| * | | | properly handle amperstands when HTML escaping | Brian Palmer | 2012-02-29 | 1 | -1/+2 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | escapeExpression, when given a string like ">", was simply returning ">", not escaping the amperstand. This is incorrect, and makes it impossible to have Handlebars properly escape a string like "Escaped, <b> looks like: <b>" If the intention of the user is to not escape these characters, then {{{}}} or {{&}} should be used | ||||
* | | | Merge pull request #297 from karlwestin/fix-reverse-array | Yehuda Katz | 2012-09-14 | 1 | -5/+2 |
|\ \ \ | | | | | | | | | Fixed an issue where {{#array}} {{/array}} wouldn't pass in an @index data variable | ||||
| * | | | Fixed an issue where {{#array}} {{/array}} wouldn't pass in an | Karl Westin | 2012-08-27 | 1 | -5/+2 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | @index data variable. I just thought it would be nice to add in this feature. I'm using the two of these a little interchangable, so if other people are doing that as well, it might help usability. | ||||
* | | | Ensure plain text partials supplied to registerPartials are compiled using ↵ | Kiall Mac Innes | 2012-09-13 | 1 | -1/+1 |
|/ / | | | | | | | data: true if necessary. | ||||
* | | Merge with upstream/master | kpdecker | 2012-08-21 | 1 | -1/+7 |
|\ \ | |||||
| * | | Fix handling of this parameters in helpers | kpdecker | 2012-07-30 | 1 | -1/+7 |
| | | | | | | | | | Fixes issue introduced in 727eb26cb6a9e89ab08596dedbabcec0becb4d75 |