summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* v4.0.4v4.0.4kpdecker2015-10-294-4/+4
|
* Update release noteskpdecker2015-10-291-1/+7
|
* Merge pull request #1125 from nknapp/patch-2Kevin Decker2015-10-291-0/+1
|\ | | | | Add promised-handlebars to "in-the-wild"-list
| * Add promised-handlebars to "in-the-wild"-listNils Knappmeier2015-10-281-0/+1
|/
* Merge pull request #1121 from shinypb/undefined_partial_error_messageKevin Decker2015-10-192-2/+2
|\ | | | | Include partial name in 'undefined partial' exception message
| * Use template string :sparkles: for error message and double-quotes for ↵Mark Christian2015-10-192-2/+2
| | | | | | | | quoting partial name
| * Include partial name in 'undefined partial' exception messageMark Christian2015-10-192-2/+2
|/
* v4.0.3v4.0.3kpdecker2015-09-234-4/+4
|
* Update release noteskpdecker2015-09-231-1/+14
|
* Create data frame for @partial-blockkpdecker2015-09-232-0/+9
| | | Fixes #1099
* Fix tests under IEkpdecker2015-09-234-7/+11
|
* Fix iteration over undefined valueskpdecker2015-09-233-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 [] IDskpdecker2015-09-163-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.0kpdecker2015-09-161-1/+2
|
* Merge pull request #1091 from nikolas/patch-2Kevin Decker2015-09-041-1/+1
|\ | | | | fix typo in release notes
| * fix typo in release notesNik Nyby2015-09-041-1/+1
| |
* | Merge pull request #1090 from nikolas/patch-1Kevin Decker2015-09-041-1/+1
|\ \ | |/ |/| grammar fixes in 4.0.0 release notes
| * grammar fixes in 4.0.0 release notesNik Nyby2015-09-041-1/+1
|/
* v4.0.2v4.0.2kpdecker2015-09-044-4/+4
|
* Update release noteskpdecker2015-09-041-1/+6
|
* Fix use of decorators within partialskpdecker2015-09-042-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.1kpdecker2015-09-024-4/+4
|
* Update release noteskpdecker2015-09-021-1/+6
|
* Add source map flag for istanbul forkkpdecker2015-09-021-1/+1
|
* Remove duplicate dependencykpdecker2015-09-021-1/+0
|
* Fix failure when using decorators in partialskpdecker2015-09-022-0/+10
|
* Better assert message in shouldThrowkpdecker2015-09-021-1/+1
|
* Remove duplicated release noteskpdecker2015-09-021-43/+0
|
* Update subset of npm packageskpdecker2015-09-021-4/+4
|
* Remove keen codekpdecker2015-09-022-44/+3
| | | This hasn’t been running and is horribly out of date.
* Update to latest eslintkpdecker2015-09-0120-38/+36
|
* v4.0.0v4.0.0kpdecker2015-09-014-4/+4
|
* Update release noteskpdecker2015-09-011-0/+43
|
* Update release noteskpdecker2015-09-011-1/+44
|
* Escape = in HTML contentkpdecker2015-09-012-3/+5
| | | | | There was a potential XSS exploit when using unquoted attributes that this should help reduce. Fixes #1083
* Rev runtime compiler revisionkpdecker2015-09-012-3/+4
|
* Add basic decorators docskpdecker2015-09-011-0/+19
| | | Fixes #1088
* Add explicitPartialContext compiler flagkpdecker2015-09-012-1/+20
| | | Fixes #1032
* Merge branch 'decorators'kpdecker2015-09-0121-19/+453
|\
| * Implement decorator helper methodkpdecker2015-08-222-15/+16
| |
| * Implement inline partialskpdecker2015-08-224-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 decoratorskpdecker2015-08-227-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 parsingkpdecker2015-08-2210-7/+74
| |
| * Implement decorator environment and registrationkpdecker2015-08-224-1/+65
| |
* | Merge pull request #1087 from denniskuczynski/each_object_empty_string_keyKevin Decker2015-08-302-1/+11
|\ \ | | | | | | Fix #each when last object entry has empty key
| * | Fix #each when last object entry has empty keyDennis Kuczynski2015-08-302-1/+11
|/ /
* | Merge pull request #1084 from blendlabs/masterKevin Decker2015-08-251-1/+1
|\ \ | | | | | | Bump uglify version to avoid vulnerability flag.
| * | Bump uglify version to fix vulnerabilityJohn Steidley2015-08-241-1/+1
|/ /
* | Merge pull request #1076 from wycats/partial-blockKevin Decker2015-08-2313-38/+197
|\ \ | |/ | | Implement partial blocks
| * Update AST doc for partial blockkpdecker2015-08-221-1/+2
| |
| * Add whitespace control to partial block statementskpdecker2015-08-221-1/+3
| |
| * Create validateClose helper methodkpdecker2015-08-222-21/+20
| | | | | | | | Avoid duplicating the logic needed to check for close block mismatches.
| * Implement partial blockskpdecker2015-08-2212-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 visitorkpdecker2015-08-222-2/+13
|
* Merge pull request #1081 from hashchange/patch-1Kevin Decker2015-08-211-0/+1
|\ | | | | Add Marionette.Handlebars to "in the Wild" list
| * Add Marionette.Handlebars to "in the Wild" listhashchange2015-08-211-0/+1
|/
* Drop AST constructors in favor of JSONkpdecker2015-08-1810-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 contextkpdecker2015-08-183-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 parameterskpdecker2015-08-181-2/+2
|
* Add object option to test runnerkpdecker2015-08-181-1/+4
|
* Run node tests lastkpdecker2015-08-181-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 typokpdecker2015-08-141-1/+1
|
* Increase travis git window to avoid test failureskpdecker2015-08-141-0/+3
| | | https://twitter.com/travisci/status/288390896339267584
* Link to try handlebars from readmekpdecker2015-08-141-1/+1
|
* Cleanup stack traces for test assertionskpdecker2015-08-141-6/+22
|
* Include inline source maps in babel buildkpdecker2015-08-141-0/+1
|
* Add ignoreStandalone compiler optionkpdecker2015-08-133-6/+20
| | | Fixes #1072
* Link to installation docskpdecker2015-08-121-15/+1
|
* Add license information to bower.jsonkpdecker2015-08-121-0/+1
| | | | Fixes #1074
* Ignore empty when iterating on sparse arrayskpdecker2015-08-042-0/+13
| | | Fixes #1065
* Add support for string and stdin precompilationkpdecker2015-08-044-4/+130
| | | Fixes #1071
* Remove no-shadow rulekpdecker2015-08-041-1/+1
|
* Simplify object assignment generation logickpdecker2015-08-042-14/+16
|
* Convert precompiler template loading to asynckpdecker2015-08-044-75/+113
|
* Refactor precompiler API into two phasekpdecker2015-08-043-117/+149
| | | Load templates and then parse them in a distinct operation. This will allow us to use other input sources such as stdin and strings.
* Increase sauce test concurrencykpdecker2015-08-031-1/+1
|
* Include doctype in amd harnesskpdecker2015-08-031-0/+1
|
* Specify platform for firefox in sauce testskpdecker2015-08-031-1/+1
| | | Works around what appears to be an init issue within Sauce.
* Fix parser declaration under amd buildskpdecker2015-08-031-1/+1
|
* Revert "Pull sauce tests out of CI"kpdecker2015-08-031-1/+1
| | | | This reverts commit e2ba22eaad24575ab3cb235b8fc36683acf610c2.
* Pull out duplicated documentation from readmekpdecker2015-08-031-271/+10
| | | Fixes #1006
* Bulletproof AST.helpers.helperExpressionkpdecker2015-08-032-15/+55
| | | | | Avoid undefined values and potential false positives from other type values such as partials. Fixes #1055
* Use += in printerkpdecker2015-08-031-9/+9
|
* Fix incorrect variable removalkpdecker2015-08-031-2/+2
|
* Enforce 100% code coveragekpdecker2015-08-035-15/+47
|
* Fix partial handling with different contextkpdecker2015-08-032-1/+7
|
* Style updateskpdecker2015-08-0329-124/+154
|
* Always return string responseskpdecker2015-08-032-1/+15
| | | | | Certain optimizations for simple templates could result in objects returned by helpers returned rather than their string representation, resulting in some odd edge cases. This ensures that strings are always returned from the API for consistency. Fixes #1054.
* Pass undefined fields to helpers in strict modekpdecker2015-08-033-9/+30
| | | | | This allows for `{{helper foo}}` to still operate under strict mode when `foo` is not defined on the context. This allows helpers to perform whatever existence checks they please so patterns like `{{#if foo}}{{foo}}{{/if}}` can be used to protect against missing values. Fixes #1063
* Avoid depth creation when context remains the samekpdecker2015-08-033-3/+30
| | | | | | | Creating a new depth value seems to confuse users as they don’t expect things like `if` to require multiple `..` to break out of. With the change, we avoid pushing a context to the depth list if it’s already on the top of the stack, effectively removing cases where `.` and `..` are the same object and multiple `..` references are required. This is a breaking change and all templates that utilize `..` will have to check their usage and confirm that this does not break desired behavior. Helper authors now need to take care to return the same context value whenever it is conceptually the same and to avoid behaviors that may execute children under the current context in some situations and under different contexts under other situations. Fixes #1028
* Fix track id handling in partialskpdecker2015-08-032-0/+50
| | | Fixes #914
* Handle this references properly in track id modekpdecker2015-08-032-4/+7
|
* Avoid log output in testkpdecker2015-08-031-1/+7
|
* Remove out of date TODOkpdecker2015-08-031-2/+0
|
* Improve logging APIkpdecker2015-08-033-14/+100
| | | | | | | Adds multiple variable support and the ability to set statement level logging semantics. This breaks that logger API, cleaning up the manner in which enums are set, but the other behaviors are backwards compatible. Fixes #956
* Move logger into separate modulekpdecker2015-08-012-21/+23
|
* Add rest params to es6 supported listkpdecker2015-08-011-0/+1
|
* Increase code coveragekpdecker2015-08-014-5/+8
|
* Add istanbul ignore to babel boilerplatekpdecker2015-08-011-2/+3
|
* Move helpers into separate moduleskpdecker2015-08-0110-173/+206
|