Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use XML-like tags in test instead of bizarre dot delimiters | Lon Ingram | 2016-08-17 | 1 | -4/+4 |
| | |||||
* | Add test reproducing #1185 | Lon Ingram | 2016-08-17 | 1 | -0/+9 |
| | |||||
* | Walk up data frames for nested @partial-block | Lon Ingram | 2016-08-16 | 1 | -0/+14 |
| | | | | | | | | | | | | | | 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 | ||||
* | Use template string :sparkles: for error message and double-quotes for ↵ | Mark Christian | 2015-10-19 | 1 | -1/+1 |
| | | | | quoting partial name | ||||
* | Include partial name in 'undefined partial' exception message | Mark Christian | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | Add explicitPartialContext compiler flag | kpdecker | 2015-09-01 | 1 | -0/+15 |
| | | | Fixes #1032 | ||||
* | Implement inline partials | kpdecker | 2015-08-22 | 1 | -0/+39 |
| | | | | | | 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 partial blocks | kpdecker | 2015-08-22 | 1 | -0/+61 |
| | | | | | | This allows for failover for missing partials as well as limited templating ability through the `{{> @partial-block }}` partial special case. Partial fix for #1018 | ||||
* | Fix partial handling with different context | kpdecker | 2015-08-03 | 1 | -0/+6 |
| | |||||
* | Add tests for string contexts | kpdecker | 2015-05-06 | 1 | -0/+7 |
| | | | | Fixes #1013 | ||||
* | Add full support for es6 | kpdecker | 2015-04-16 | 1 | -107/+106 |
| | | | | | | | | Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions. Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules. Fixes #855 Fixes #993 | ||||
* | Add support for dynamic partial names | kpdecker | 2015-01-18 | 1 | -0/+26 |
| | | | | | | | | | Uses the subexpression syntax to allow for dynamic partial lookups. Ex: ``` {{> (helper) }} ``` Fixes #933 | ||||
* | Update statement node ASTs | kpdecker | 2014-11-26 | 1 | -0/+6 |
| | |||||
* | Propagate options for client compiled partials | kpdecker | 2014-11-08 | 1 | -0/+9 |
| | | | Fixes #901 | ||||
* | Merge pull request #870 from max-b/master | Kevin Decker | 2014-11-08 | 1 | -6/+13 |
|\ | | | | | Registering undefined partial throws exception. | ||||
| * | Fixing indentation in spec/partials.js | Maxb | 2014-09-19 | 1 | -6/+6 |
| | | |||||
| * | Registering undefined partial throws exception. | Maxb | 2014-09-19 | 1 | -0/+7 |
| | | |||||
* | | Add preventIndent option for partials | kpdecker | 2014-11-02 | 1 | -0/+8 |
|/ | | | | | This disables the standalone partial indent behavior required by the Mustache spec and allows for users to utilize partials in the same manner as under 1.x. Fixes #858 | ||||
* | Fix compat partial exec without data | kpdecker | 2014-08-15 | 1 | -6/+12 |
| | |||||
* | Additional test coverage | kpdecker | 2014-08-15 | 1 | -1/+11 |
| | |||||
* | Increase test coverage a touch | kpdecker | 2014-08-14 | 1 | -0/+3 |
| | |||||
* | Implement partial recursive lookup | kpdecker | 2014-08-14 | 1 | -0/+6 |
| | |||||
* | Inherit compat flag for partials | kpdecker | 2014-08-14 | 1 | -0/+9 |
| | |||||
* | Add additional tests for standalone partials | kpdecker | 2014-08-12 | 1 | -1/+19 |
| | |||||
* | Test more concrete behavior in partial hash test | kpdecker | 2014-01-17 | 1 | -4/+4 |
| | |||||
* | Implement partial hash evaluation | kpdecker | 2014-01-17 | 1 | -0/+8 |
| | |||||
* | Handle empty responses from partials | kpdecker | 2013-12-23 | 1 | -0/+6 |
| | | | Fixes #675 | ||||
* | Use shouldThrow helper for test asserts | kpdecker | 2013-12-23 | 1 | -4/+4 |
| | |||||
* | Protect context-lookups from undefined values | kpdecker | 2013-11-03 | 1 | -0/+7 |
| | | | | Fixes #166 Fixes #587 | ||||
* | Move more testing mutations into the environment | Yehuda Katz | 2013-07-26 | 1 | -2/+2 |
| | |||||
* | Refactor qunit unit tests | kpdecker | 2013-06-01 | 1 | -0/+119 |
Allows for testing node, browser, and precompiled modes in the node tests. Also reorganizes the qunit spec file to provide better organization. |