summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1243 from lawnsea/nested-partial-blocksHEADorigin/masterorigin/HEADmasterYehuda Katz2016-09-102-1/+29
|\ | | | | Walk up data frames for nested @partial-block
| * Use XML-like tags in test instead of bizarre dot delimitersLon Ingram2016-08-171-4/+4
| |
| * Add test reproducing #1185Lon Ingram2016-08-171-0/+9
| |
| * Walk up data frames for nested @partial-blockLon Ingram2016-08-162-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
* | Merge pull request #1244 from blikblum/fix-build-windowsKevin Decker2016-08-231-3/+4
|\ \ | | | | | | Fix build in windows - WIP
| * | Fix build in windowsLuiz Américo2016-08-211-3/+4
|/ /
* | Merge pull request #1234 from blikblum/upgarde-jisonKevin Decker2016-08-211-1/+1
|\ \ | | | | | | Upgrade jison to 0.4.16
| * | stick to 0.4.16. Tests does no pass with 0.4.17Luiz Américo2016-07-091-1/+1
| | |
| * | upgrade jison to 0.4.17Luiz Américo2016-07-091-1/+1
| |/
* | Merge pull request #1239 from blikblum/patch-1Kevin Decker2016-08-211-1/+1
|\ \ | |/ |/| Update definition of BlockStatement.path
| * Update definition of BlockStatement.pathLuiz Américo2016-07-211-1/+1
|/ | | | As pointed in https://github.com/wycats/handlebars.js/issues/1237 BlockStatement.path accepts in practice PathExpression or Literal. Updates its definition to reflect this fact
* Merge pull request #1210 from kabirbaidhya/patch-1Kevin Decker2016-05-171-0/+1
|\ | | | | Add a new lightweight package based on handlebars in the README
| * Add a new lightweight package based on handlebars in the READMEKabir2016-04-121-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)
* | Merge pull request #1213 from jbboehr/hotfix/yargs-checkKevin Decker2016-05-171-6/+1
|\ \ | |/ |/| Fix test failure caused by yargs
| * Fix test failure caused by yargsJohn Boehr2016-04-211-6/+1
|/ | | | | | In yargs 3.2, any non-truthy return value to check will fail: https://github.com/yargs/yargs/blob/master/CHANGELOG.md#302-20150213-1650-0000 It appears that this check is no longer necessary as the other contents of the check callback no longer exist: https://github.com/wycats/handlebars.js/commit/2e7a3bd70223c0e532a24290c7d817b951354541#diff-2aff13863648736946e83d70c5e63520L86 It appears the build failed for PR #1180, not sure why it was merged
* Merge pull request #1191 from leo/patch-1Kevin Decker2016-03-111-0/+1
|\ | | | | Added cory
| * Added coryMr. Leo2016-02-271-0/+1
| |
* | Merge pull request #1180 from TrySound/yargsKevin Decker2016-03-112-5/+5
|\ \ | | | | | | Use yargs
| * | Use yargsBogdan Chadkin2016-02-112-5/+5
| |/
* | Use objects for hash value trackingkpdecker2016-03-112-1/+12
| | | | | | | | | | | | The use of arrays was incorrect for the data type and causing problems when hash keys conflicted with array behaviors. Fixes #1194
* | Merge pull request #1187 from charleso/bugfix/1186-existing-program-block-paramKevin Decker2016-03-072-8/+19
|\ \ | |/ |/| Ensure that existing blockParams and depths are respected on dupe programs
| * Ensure that existing blockParams and depths are respected on dupe programsCharles O'Farrell2016-03-082-8/+19
|/ | | | Fixes #1186
* Merge pull request #1177 from gennadiylitvinyuk/patch-1Kevin Decker2016-02-051-1/+1
|\ | | | | Preserve License info in Closure Compiler
| * Preserve License info in Closure CompilerGennadiy Litvinyuk2016-02-051-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
* Merge pull request #1171 from paulfalgout/patch-1Kevin Decker2016-01-201-1/+1
|\ | | | | Contributing doc fix: failing thats -> failing tests
| * Contributing doc fix: failing thats -> failing testsPaul Falgout2016-01-191-1/+1
|/
* Merge pull request #1166 from timwangdev/patch-1Kevin Decker2016-01-051-1/+1
|\ | | | | Update license date
| * Update license dateTim Wang2016-01-061-1/+1
|/
* Update jsfiddle to point to latestkpdecker2015-12-261-1/+1
|
* Avoid multiple babel execution cycleskpdecker2015-12-261-11/+2
|
* Remove cdnjs copy taskkpdecker2015-12-261-6/+1
|
* Drop removed amd task from watch listkpdecker2015-12-261-1/+1
|
* Throw exception if id tracking args are passedkpdecker2015-12-262-28/+37
| | | Fixes #1151
* Merge pull request #1163 from adjohnson916/patch-1Kevin Decker2015-12-241-2/+2
|\ | | | | Fix typos on decorators-api.md.
| * Fix typos on decorators-api.md.Anders D. Johnson2015-12-231-2/+2
|/
* Restore babel compile optionskpdecker2015-12-141-0/+5
|
* Use istanbul fork for proper line coveragekpdecker2015-12-141-1/+1
|
* Remove amd files from the buildkpdecker2015-12-145-283/+7
| | | | | Users can utilize the UMD library if they are still using require.js and if they need to have specific modules, they can consume the cjs or es6 modules via webpack or similar. Fix for #1096
* Drop extra Error paramskpdecker2015-12-141-1/+1
| | | This was causing a difficult to diagnose failure under IE and doesn’t give us enough value to justify the change.
* Merge pull request #1153 from ryanmurakami/masterKevin Decker2015-12-142-0/+19
|\ | | | | Adding documentation for running tests
| * moving test documentation to contributing.mdRyan Lewis2015-12-132-19/+19
| |
| * Merge branch 'master' of https://github.com/ryanmurakami/handlebars.jsRyan Lewis2015-12-1326-742/+122
| |\ | |/ |/|
* | Avoid error in older browsers in testkpdecker2015-12-121-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 versionskpdecker2015-12-121-4/+3
| |
* | Exclude coverage check in exception conditionalkpdecker2015-12-121-0/+1
| |
* | Fix throw when creating exception object in Safarikpdecker2015-12-121-4/+14
| | | | | | https://github.com/jquery/esprima/issues/1290
* | Update build for modern node versionskpdecker2015-12-121-2/+2
| |
* | Relax depth check for context pushkpdecker2015-12-122-2/+25
| | | | | | | | Fixes #1135
* | Remove semi-documented _setup and _child APIskpdecker2015-12-123-64/+4
| | | | | | These were a bad idea to begin with and without the trackIds implementation they don’t make much sense.
* | Merge pull request #1148 from machty/rm-trackids-stringparamsKevin Decker2015-12-1011-651/+8
|\ \ | | | | | | Remove stringParams and trackIds mode
| * | Remove stringParams and trackIds modemachty2015-12-1011-651/+8
|/ / | | | | | | Closes #1145
* | v4.0.5v4.0.5kpdecker2015-11-194-4/+4
| |
* | Update release noteskpdecker2015-11-191-1/+13
| |
* | Return current handlebars instance from noConflictkpdecker2015-11-191-0/+1
| | | | | | Fixes wycats/handlebars-site#131
* | Add webpack to dev dependency to support npm 3kpdecker2015-11-191-1/+3
| |
* | Further relax uglify dependencykpdecker2015-11-191-1/+1
| |
* | Work around uglify preserveComments some issuekpdecker2015-11-191-1/+1
| | | | | | | | | | | | Root cause: https://github.com/gruntjs/grunt-contrib-uglify/issues/366 Fixes #1129
* | Include tests for minimized artifactskpdecker2015-11-195-7/+44
| |
* | Merge pull request #1132 from plynchnlm/masterKevin Decker2015-11-181-1/+1
|\ \ | | | | | | Update uglify-js to avoid vulnerability
| * | Update uglify-js to avoid vulnerabilityPaul Lynch2015-11-161-1/+1
|/ /
| * Adding documentation for running testsRyan Lewis2015-12-132-0/+19
|/
* Fix lint errors under latest eslintkpdecker2015-10-312-2/+2
|
* Merge pull request #1127 from victorwpbastos/masterKevin Decker2015-10-311-1/+1
|\ | | | | Tag DOMBars as deprecated
| * Tag DOMBars as deprecatedVictor Bastos2015-10-311-1/+1
|/
* Add print-script helper scriptkpdecker2015-10-301-0/+95
|
* 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