Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Wrap AST nodes in strip opcodes if defined | kpdecker | 2013-10-14 | 1 | -2/+14 | |
| | | ||||||
* | | Use accept for all compiler traversal | kpdecker | 2013-10-14 | 1 | -4/+3 | |
| | | ||||||
* | | Kill unused functions | kpdecker | 2013-10-14 | 1 | -9/+0 | |
| | | ||||||
* | | Push Source helper method | kpdecker | 2013-10-14 | 1 | -11/+15 | |
| | | ||||||
* | | Pass open token to MustacheNode for flag parsing | kpdecker | 2013-10-14 | 1 | -2/+3 | |
| | | ||||||
* | | Fix argument not found error | kpdecker | 2013-10-14 | 1 | -1/+1 | |
| | | ||||||
* | | Pass options hash to context function exec | kpdecker | 2013-10-14 | 1 | -1/+1 | |
| | | | | | | Fixes #599 | |||||
* | | Fix transpiler error in printer.js | kpdecker | 2013-10-12 | 1 | -1/+4 | |
| | | ||||||
* | | Remove global Handlebars references | kpdecker | 2013-10-09 | 1 | -1/+1 | |
| | | ||||||
* | | Use template env and compile methods | kpdecker | 2013-10-09 | 1 | -3/+2 | |
| | | ||||||
* | | Expose current Handlebars namespace fields | kpdecker | 2013-10-01 | 1 | -1/+1 | |
| | | ||||||
* | | Use proper default vs. module import semantics | kpdecker | 2013-10-01 | 5 | -40/+37 | |
| | | ||||||
* | | Break exception class out into a standalone module | kpdecker | 2013-10-01 | 2 | -2/+2 | |
| | | ||||||
* | | Fix global Handlebars references | kpdecker | 2013-10-01 | 1 | -4/+4 | |
| | | ||||||
* | | Update logger for es6 modules | kpdecker | 2013-09-30 | 1 | -13/+4 | |
| | | ||||||
* | | Merge commit '87b5d4ee61605b026506e92c9e8873d867c5f150' into es6-modules | kpdecker | 2013-09-02 | 1 | -3/+3 | |
|\ \ | |/ | | | | | | | | | | | | | Conflicts: dist/handlebars.js dist/handlebars.runtime.js lib/handlebars/base.js lib/handlebars/utils.js | |||||
| * | Remove unused var | kpdecker | 2013-07-30 | 1 | -3/+3 | |
| | | ||||||
* | | Make the Handlebars environment into an object | Yehuda Katz | 2013-07-26 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | The idea is that the environment wraps up the mutable stuff in Handlebars (like the helpers) and that you could theoretically create a new one at any time and pass it in to Handlebars.template. Every test makes a new environment and uses it in template compilation. | |||||
* | | Further progress towards modularization. | Yehuda Katz | 2013-07-24 | 5 | -29/+44 | |
| | | | | | | | | | | At this point, I have only 2 fails in the Node build, but I'm doing a bunch of manual stuff locally and still have a bunch of hacks. | |||||
* | | Building an AMD file | Yehuda Katz | 2013-07-16 | 4 | -6/+4 | |
| | | ||||||
* | | More modularization | Yehuda Katz | 2013-07-02 | 3 | -54/+21 | |
| | | ||||||
* | | Initial work on ES6 modules | Yehuda Katz | 2013-07-01 | 4 | -84/+50 | |
|/ | ||||||
* | Break JavascriptCompiler into standalone file | kpdecker | 2013-06-03 | 3 | -845/+861 | |
| | ||||||
* | Remove unnecessary function | kpdecker | 2013-06-02 | 1 | -6/+3 | |
| | ||||||
* | Merge global and passed helpers and partials | kpdecker | 2013-05-31 | 1 | -2/+3 | |
| | ||||||
* | Allow execution of helpers on the context | kpdecker | 2013-05-30 | 1 | -1/+2 | |
| | | | Fixes #285 | |||||
* | 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 | |
| | ||||||
* | 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. | |||||
* | | Merge branch 'program-metadata' | kpdecker | 2013-04-07 | 1 | -6/+1 | |
|\ \ | ||||||
| * | | Add program metadata | kpdecker | 2013-02-17 | 1 | -6/+1 | |
| |/ | | | | | | | | | | | 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 | |||||
* | 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 | 1 | -1043/+1040 | |
| | | ||||||
* | | Remove unused scope function | kpdecker | 2013-02-16 | 1 | -101/+98 | |
|/ | ||||||
* | tests passing | Tommy Messbauer | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | merge | Tommy Messbauer | 2013-02-11 | 4 | -187/+396 | |
|\ | ||||||
| * | Better error messages for precompiler runtime mismatch | Peter Wagenet | 2013-02-09 | 1 | -1/+3 | |
| | | ||||||
| * | Decouple compiler version checks from release versions | Peter Wagenet | 2013-02-08 | 1 | -1/+1 | |
| | | ||||||
| * | 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 | 1 | -4/+1 | |
| | | | | | | | | | | 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 | |
| |/ | ||||||
| * | 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 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 | |
| | | | ||||||
| * | | 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 | 1 | -10/+0 | |
| |\ | | | | | | | 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 | 1 | -10/+0 | |
| | | | ||||||
| * | | 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 | |
| |/ | ||||||
* | | 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 | 2 | -4/+4 | |
|\ \ | |/ | ||||||
| * | 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. | |||||
* | | Factory update with tabs to spaces.. sorry :( | Tommy Messbauer | 2012-11-26 | 6 | -1161/+1161 | |
| | | ||||||
* | | Finished factory pattern | Tommy Messbauer | 2012-08-29 | 2 | -3/+4 | |
| | | ||||||
* | | Commiting initial factory code | Tommy Messbauer | 2012-08-29 | 6 | -1039/+1071 | |
|/ | ||||||
* | Fix handling of this parameters in helpers | kpdecker | 2012-07-30 | 1 | -1/+7 | |
| | | | Fixes issue introduced in 727eb26cb6a9e89ab08596dedbabcec0becb4d75 | |||||
* | Document lookupData | Yehuda Katz | 2012-07-05 | 1 | -0/+6 | |
| | ||||||
* | Reduce duplication | Yehuda Katz | 2012-07-05 | 1 | -9/+5 | |
| | ||||||
* | Make deep @data trigger the data option | Yehuda Katz | 2012-07-05 | 1 | -2/+4 | |
| |