Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | v4.0.6 (again)v4.0.6origin/4.x | Lon Ingram | 2016-11-12 | 3 | -3/+3 |
| | | | | Missed some versions in the repo that needed bumping. | ||||
* | Update release notes | Lon Ingram | 2016-11-12 | 1 | -1/+22 |
| | |||||
* | v4.0.6 | Lon Ingram | 2016-11-11 | 1 | -1/+1 |
| | |||||
* | Use XML-like tags in test instead of bizarre dot delimiters | Lon Ingram | 2016-11-11 | 1 | -4/+4 |
| | |||||
* | Add test reproducing #1185 | Lon Ingram | 2016-11-11 | 1 | -0/+9 |
| | |||||
* | Walk up data frames for nested @partial-block | Lon Ingram | 2016-11-11 | 2 | -1/+20 |
| | | | | | | | | | | | | | | The root cause of #1218 is that `invokePartial` creates a stack of data frames for nested partial blocks, but `resolvePartial` always uses the value at top of the stack without "popping" it. The result is an infinite recursive loop, as references to `@partial-block` in the partial at the top of the stack resolve to itself. So, walk up the stack of data frames when evaluating. This is accomplished by 1) setting the `partial-block` property to `noop` after use and 2) using `_parent['partial-block']` if `partial-block` is `noop` Fix #1218 | ||||
* | Add a new lightweight package based on handlebars in the README | Kabir | 2016-11-11 | 1 | -0/+1 |
| | | | | | Add a new package [just-handlebars-helpers](https://github.com/leapfrogtechnology/just-handlebars-helpers) on the list. This is a lightweight package that offers a collection of common handlebars helpers. And it is [fully tested](https://codecov.io/github/leapfrogtechnology/just-handlebars-helpers) | ||||
* | Ensure that existing blockParams and depths are respected on dupe programs | Charles O'Farrell | 2016-11-11 | 2 | -8/+19 |
| | | | | Fixes #1186 | ||||
* | Added cory | Mr. Leo | 2016-11-11 | 1 | -0/+1 |
| | |||||
* | Preserve License info in Closure Compiler | Gennadiy Litvinyuk | 2016-11-11 | 1 | -1/+1 |
| | | | To preserve license info in Closure Compiler the license has to be JSDoc-comment (not simple comment) and have @license before license text | ||||
* | Contributing doc fix: failing thats -> failing tests | Paul Falgout | 2016-11-11 | 1 | -1/+1 |
| | |||||
* | Update license date | Tim Wang | 2016-11-11 | 1 | -1/+1 |
| | |||||
* | Update jsfiddle to point to latest | kpdecker | 2016-11-11 | 1 | -1/+1 |
| | |||||
* | Fix typos on decorators-api.md. | Anders D. Johnson | 2016-11-11 | 1 | -2/+2 |
| | |||||
* | Drop extra Error params | kpdecker | 2016-11-11 | 1 | -1/+1 |
| | | | This was causing a difficult to diagnose failure under IE and doesn’t give us enough value to justify the change. | ||||
* | Add documentation for running tests to contributing.md | Ryan Lewis | 2016-11-11 | 2 | -0/+19 |
| | | | | lawnsea: this contains the changes from 8a9c79b | ||||
* | Avoid error in older browsers in test | kpdecker | 2016-11-11 | 1 | -9/+7 |
| | | | The tests are run through the transpiler and just reverting the user of template literal is easier than adding transpiler to the test stack. | ||||
* | Update target browser test versions | kpdecker | 2016-11-11 | 1 | -4/+3 |
| | |||||
* | Exclude coverage check in exception conditional | kpdecker | 2016-11-11 | 1 | -0/+1 |
| | |||||
* | Fix throw when creating exception object in Safari | kpdecker | 2016-11-11 | 1 | -4/+14 |
| | | | https://github.com/jquery/esprima/issues/1290 | ||||
* | Update build for modern node versions | kpdecker | 2016-11-11 | 1 | -2/+2 |
| | |||||
* | Relax depth check for context push | kpdecker | 2016-11-11 | 2 | -2/+25 |
| | | | | Fixes #1135 | ||||
* | v4.0.5v4.0.5 | kpdecker | 2015-11-19 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-11-19 | 1 | -1/+13 |
| | |||||
* | Return current handlebars instance from noConflict | kpdecker | 2015-11-19 | 1 | -0/+1 |
| | | | Fixes wycats/handlebars-site#131 | ||||
* | Add webpack to dev dependency to support npm 3 | kpdecker | 2015-11-19 | 1 | -1/+3 |
| | |||||
* | Further relax uglify dependency | kpdecker | 2015-11-19 | 1 | -1/+1 |
| | |||||
* | Work around uglify preserveComments some issue | kpdecker | 2015-11-19 | 1 | -1/+1 |
| | | | | | | Root cause: https://github.com/gruntjs/grunt-contrib-uglify/issues/366 Fixes #1129 | ||||
* | Include tests for minimized artifacts | kpdecker | 2015-11-19 | 5 | -7/+44 |
| | |||||
* | Merge pull request #1132 from plynchnlm/master | Kevin Decker | 2015-11-18 | 1 | -1/+1 |
|\ | | | | | Update uglify-js to avoid vulnerability | ||||
| * | Update uglify-js to avoid vulnerability | Paul Lynch | 2015-11-16 | 1 | -1/+1 |
|/ | |||||
* | Fix lint errors under latest eslint | kpdecker | 2015-10-31 | 2 | -2/+2 |
| | |||||
* | Merge pull request #1127 from victorwpbastos/master | Kevin Decker | 2015-10-31 | 1 | -1/+1 |
|\ | | | | | Tag DOMBars as deprecated | ||||
| * | Tag DOMBars as deprecated | Victor Bastos | 2015-10-31 | 1 | -1/+1 |
|/ | |||||
* | Add print-script helper script | kpdecker | 2015-10-30 | 1 | -0/+95 |
| | |||||
* | v4.0.4v4.0.4 | kpdecker | 2015-10-29 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-10-29 | 1 | -1/+7 |
| | |||||
* | Merge pull request #1125 from nknapp/patch-2 | Kevin Decker | 2015-10-29 | 1 | -0/+1 |
|\ | | | | | Add promised-handlebars to "in-the-wild"-list | ||||
| * | Add promised-handlebars to "in-the-wild"-list | Nils Knappmeier | 2015-10-28 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #1121 from shinypb/undefined_partial_error_message | Kevin Decker | 2015-10-19 | 2 | -2/+2 |
|\ | | | | | Include partial name in 'undefined partial' exception message | ||||
| * | Use template string :sparkles: for error message and double-quotes for ↵ | Mark Christian | 2015-10-19 | 2 | -2/+2 |
| | | | | | | | | quoting partial name | ||||
| * | Include partial name in 'undefined partial' exception message | Mark Christian | 2015-10-19 | 2 | -2/+2 |
|/ | |||||
* | v4.0.3v4.0.3 | kpdecker | 2015-09-23 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-09-23 | 1 | -1/+14 |
| | |||||
* | Create data frame for @partial-block | kpdecker | 2015-09-23 | 2 | -0/+9 |
| | | | Fixes #1099 | ||||
* | Fix tests under IE | kpdecker | 2015-09-23 | 4 | -7/+11 |
| | |||||
* | Fix iteration over undefined values | kpdecker | 2015-09-23 | 3 | -9/+24 |
| | | | | | Allow for iteration on undefined values, but special case undefined and null to prevent rendering errors when not running in strict mode. Fixes #1093 | ||||
* | Allow for escaped ] characters in [] IDs | kpdecker | 2015-09-16 | 3 | -1/+12 |
| | | | | | | | | Allows for ] literal characters to be used within [] IDs by prefixing them with the \ character. `\` literal at the end of the may be referenced by the `\\` sequence if conflicting. Under most circumstances the `\\` sequence will continue to work. Potentially breaking change for users of [] ids that have `\\` anywhere in the id or `\` at the end of the id. Fixes #1092 | ||||
* | Update travis to test node 0.12 and 4.0.0 | kpdecker | 2015-09-16 | 1 | -1/+2 |
| | |||||
* | Merge pull request #1091 from nikolas/patch-2 | Kevin Decker | 2015-09-04 | 1 | -1/+1 |
|\ | | | | | fix typo in release notes | ||||
| * | fix typo in release notes | Nik Nyby | 2015-09-04 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1090 from nikolas/patch-1 | Kevin Decker | 2015-09-04 | 1 | -1/+1 |
|\ \ | |/ |/| | grammar fixes in 4.0.0 release notes | ||||
| * | grammar fixes in 4.0.0 release notes | Nik Nyby | 2015-09-04 | 1 | -1/+1 |
|/ | |||||
* | v4.0.2v4.0.2 | kpdecker | 2015-09-04 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-09-04 | 1 | -1/+6 |
| | |||||
* | Fix use of decorators within partials | kpdecker | 2015-09-04 | 2 | -1/+9 |
| | | | | | If a decorator is used within a partial but not in the calling template, the hash is not passed in. For now error on the side of always including as just assigning values has minimal overhead. Fixes #1089 | ||||
* | v4.0.1v4.0.1 | kpdecker | 2015-09-02 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-09-02 | 1 | -1/+6 |
| | |||||
* | Add source map flag for istanbul fork | kpdecker | 2015-09-02 | 1 | -1/+1 |
| | |||||
* | Remove duplicate dependency | kpdecker | 2015-09-02 | 1 | -1/+0 |
| | |||||
* | Fix failure when using decorators in partials | kpdecker | 2015-09-02 | 2 | -0/+10 |
| | |||||
* | Better assert message in shouldThrow | kpdecker | 2015-09-02 | 1 | -1/+1 |
| | |||||
* | Remove duplicated release notes | kpdecker | 2015-09-02 | 1 | -43/+0 |
| | |||||
* | Update subset of npm packages | kpdecker | 2015-09-02 | 1 | -4/+4 |
| | |||||
* | Remove keen code | kpdecker | 2015-09-02 | 2 | -44/+3 |
| | | | This hasn’t been running and is horribly out of date. | ||||
* | Update to latest eslint | kpdecker | 2015-09-01 | 20 | -38/+36 |
| | |||||
* | v4.0.0v4.0.0 | kpdecker | 2015-09-01 | 4 | -4/+4 |
| | |||||
* | Update release notes | kpdecker | 2015-09-01 | 1 | -0/+43 |
| | |||||
* | Update release notes | kpdecker | 2015-09-01 | 1 | -1/+44 |
| | |||||
* | Escape = in HTML content | kpdecker | 2015-09-01 | 2 | -3/+5 |
| | | | | | There was a potential XSS exploit when using unquoted attributes that this should help reduce. Fixes #1083 | ||||
* | Rev runtime compiler revision | kpdecker | 2015-09-01 | 2 | -3/+4 |
| | |||||
* | Add basic decorators docs | kpdecker | 2015-09-01 | 1 | -0/+19 |
| | | | Fixes #1088 | ||||
* | Add explicitPartialContext compiler flag | kpdecker | 2015-09-01 | 2 | -1/+20 |
| | | | Fixes #1032 | ||||
* | Merge branch 'decorators' | kpdecker | 2015-09-01 | 21 | -19/+453 |
|\ | |||||
| * | Implement decorator helper method | kpdecker | 2015-08-22 | 2 | -15/+16 |
| | | |||||
| * | Implement inline partials | kpdecker | 2015-08-22 | 4 | -0/+66 |
| | | | | | | | | | | | | Allows for partials to be defined within the current template to allow for localized code reuse as well as for conditional behavior within nested partials. Fixes #1018 | ||||
| * | Implement block decorators | kpdecker | 2015-08-22 | 7 | -8/+244 |
| | | | | | | | | These allow for a given block to be wrapped in helper methods or metadata and allow for more control over the current container and method before the code is run. | ||||
| * | Add decorator parsing | kpdecker | 2015-08-22 | 10 | -7/+74 |
| | | |||||
| * | Implement decorator environment and registration | kpdecker | 2015-08-22 | 4 | -1/+65 |
| | | |||||
* | | Merge pull request #1087 from denniskuczynski/each_object_empty_string_key | Kevin Decker | 2015-08-30 | 2 | -1/+11 |
|\ \ | | | | | | | Fix #each when last object entry has empty key | ||||
| * | | Fix #each when last object entry has empty key | Dennis Kuczynski | 2015-08-30 | 2 | -1/+11 |
|/ / | |||||
* | | Merge pull request #1084 from blendlabs/master | Kevin Decker | 2015-08-25 | 1 | -1/+1 |
|\ \ | | | | | | | Bump uglify version to avoid vulnerability flag. | ||||
| * | | Bump uglify version to fix vulnerability | John Steidley | 2015-08-24 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1076 from wycats/partial-block | Kevin Decker | 2015-08-23 | 13 | -38/+197 |
|\ \ | |/ | | | Implement partial blocks | ||||
| * | Update AST doc for partial block | kpdecker | 2015-08-22 | 1 | -1/+2 |
| | | |||||
| * | Add whitespace control to partial block statements | kpdecker | 2015-08-22 | 1 | -1/+3 |
| | | |||||
| * | Create validateClose helper method | kpdecker | 2015-08-22 | 2 | -21/+20 |
| | | | | | | | | Avoid duplicating the logic needed to check for close block mismatches. | ||||
| * | Implement partial blocks | kpdecker | 2015-08-22 | 12 | -27/+184 |
|/ | | | | | | This allows for failover for missing partials as well as limited templating ability through the `{{> @partial-block }}` partial special case. Partial fix for #1018 | ||||
* | Improve sanity checks in compiler and visitor | kpdecker | 2015-08-22 | 2 | -2/+13 |
| | |||||
* | Merge pull request #1081 from hashchange/patch-1 | Kevin Decker | 2015-08-21 | 1 | -0/+1 |
|\ | | | | | Add Marionette.Handlebars to "in the Wild" list | ||||
| * | Add Marionette.Handlebars to "in the Wild" list | hashchange | 2015-08-21 | 1 | -0/+1 |
|/ | |||||
* | Drop AST constructors in favor of JSON | kpdecker | 2015-08-18 | 10 | -299/+141 |
| | | | | | These were little more than object literal statements that were less clear due to their use of index-based arguments. Fixes #1077 | ||||
* | Pass container rather than exec as context | kpdecker | 2015-08-18 | 3 | -13/+13 |
| | | | There is no real need for us to do `.call(container` other than for backwards compatibility with legacy versions. Using the 4.x release as a chance to optimize this behavior. | ||||
* | Remove unused parameters | kpdecker | 2015-08-18 | 1 | -2/+2 |
| | |||||
* | Add object option to test runner | kpdecker | 2015-08-18 | 1 | -1/+4 |
| | |||||
* | Run node tests last | kpdecker | 2015-08-18 | 1 | -2/+2 |
| | | | This covers all of the test cases and generally have better stack traces so we want to have these featured more prominently. | ||||
* | Fix travis config typo | kpdecker | 2015-08-14 | 1 | -1/+1 |
| | |||||
* | Increase travis git window to avoid test failures | kpdecker | 2015-08-14 | 1 | -0/+3 |
| | | | https://twitter.com/travisci/status/288390896339267584 | ||||
* | Link to try handlebars from readme | kpdecker | 2015-08-14 | 1 | -1/+1 |
| | |||||
* | Cleanup stack traces for test assertions | kpdecker | 2015-08-14 | 1 | -6/+22 |
| |