Lon Ingram
3385de0921
v4.0.6
2016-11-11 12:04:25 -06:00
Lon Ingram
abc160ae8e
Use XML-like tags in test instead of bizarre dot delimiters
2016-11-11 12:01:16 -06:00
Lon Ingram
5ee91cb58a
Add test reproducing #1185
2016-11-11 12:01:16 -06:00
Lon Ingram
ef9e0dc2ab
Walk up data frames for nested @partial-block
...
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
2016-11-11 12:01:16 -06:00
Kabir
0d0c4d1bbd
Add a new lightweight package based on handlebars in the README
...
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 )
2016-11-11 12:01:16 -06:00
Charles O'Farrell
8ff49cef52
Ensure that existing blockParams and depths are respected on dupe programs
...
Fixes #1186
2016-11-11 12:01:16 -06:00
Mr. Leo
1b885d496a
Added cory
2016-11-11 12:01:16 -06:00
Gennadiy Litvinyuk
45e14b7b45
Preserve License info in Closure Compiler
...
To preserve license info in Closure Compiler the license has to be JSDoc-comment (not simple comment) and have @license before license text
2016-11-11 12:01:16 -06:00
Paul Falgout
1379e8f50c
Contributing doc fix: failing thats -> failing tests
2016-11-11 12:01:16 -06:00
Tim Wang
6272c15074
Update license date
2016-11-11 12:01:16 -06:00
kpdecker
959ee557b0
Update jsfiddle to point to latest
2016-11-11 12:01:16 -06:00
Anders D. Johnson
577b760b50
Fix typos on decorators-api.md.
2016-11-11 12:01:16 -06:00
kpdecker
8c19874497
Drop extra Error params
...
This was causing a difficult to diagnose failure under IE and doesn’t give us enough value to justify the change.
2016-11-11 12:01:16 -06:00
Ryan Lewis
8fc16367b0
Add documentation for running tests to contributing.md
...
lawnsea: this contains the changes from 8a9c79b
2016-11-11 12:01:16 -06:00
kpdecker
400916c225
Avoid error in older browsers in test
...
The tests are run through the transpiler and just reverting the user of template literal is easier than adding transpiler to the test stack.
2016-11-11 12:01:16 -06:00
kpdecker
fee23342b1
Update target browser test versions
2016-11-11 12:01:16 -06:00
kpdecker
32d6363841
Exclude coverage check in exception conditional
2016-11-11 12:01:16 -06:00
kpdecker
20c965cd65
Fix throw when creating exception object in Safari
...
https://github.com/jquery/esprima/issues/1290
2016-11-11 12:01:16 -06:00
kpdecker
6c9f98c025
Update build for modern node versions
2016-11-11 12:01:16 -06:00
kpdecker
c393c81561
Relax depth check for context push
...
Fixes #1135
2016-11-11 12:01:16 -06:00
kpdecker
205c61cfb1
v4.0.5
v4.0.5
2015-11-19 23:06:54 -06:00
kpdecker
ddaff8ea29
Update release notes
2015-11-19 23:06:29 -06:00
kpdecker
685cf92bcb
Return current handlebars instance from noConflict
...
Fixes wycats/handlebars-site#131
2015-11-19 22:58:26 -06:00
kpdecker
7a6c228592
Add webpack to dev dependency to support npm 3
2015-11-19 22:55:03 -06:00
kpdecker
0a3b3c2831
Further relax uglify dependency
2015-11-19 22:54:39 -06:00
kpdecker
251ec3b128
Work around uglify preserveComments some issue
...
Root cause: https://github.com/gruntjs/grunt-contrib-uglify/issues/366
Fixes #1129
2015-11-19 22:54:20 -06:00
kpdecker
c21118d04b
Include tests for minimized artifacts
2015-11-19 22:53:31 -06:00
Kevin Decker
0f00f31f6b
Merge pull request #1132 from plynchnlm/master
...
Update uglify-js to avoid vulnerability
2015-11-18 01:13:47 -06:00
Paul Lynch
1dc417f1a5
Update uglify-js to avoid vulnerability
2015-11-16 18:23:25 -05:00
kpdecker
9f59de9657
Fix lint errors under latest eslint
2015-10-31 13:32:43 -05:00
Kevin Decker
3406b95cfd
Merge pull request #1127 from victorwpbastos/master
...
Tag DOMBars as deprecated
2015-10-31 12:25:38 -05:00
Victor Bastos
7b48a284e0
Tag DOMBars as deprecated
2015-10-31 13:51:14 -02:00
kpdecker
98a6717e9e
Add print-script helper script
2015-10-30 12:21:15 -05:00
kpdecker
b7c95e9feb
v4.0.4
v4.0.4
2015-10-29 01:54:17 -05:00
kpdecker
b1e561ee26
Update release notes
2015-10-29 01:53:40 -05:00
Kevin Decker
690ae2edc7
Merge pull request #1125 from nknapp/patch-2
...
Add promised-handlebars to "in-the-wild"-list
2015-10-29 01:50:17 -05:00
Nils Knappmeier
496ed8a25f
Add promised-handlebars to "in-the-wild"-list
2015-10-28 18:00:16 +01:00
Kevin Decker
d20f02d10d
Merge pull request #1121 from shinypb/undefined_partial_error_message
...
Include partial name in 'undefined partial' exception message
2015-10-19 12:01:39 -05:00
Mark Christian
33b53ef989
Use template string ✨ for error message and double-quotes for quoting partial name
2015-10-19 09:44:53 -07:00
Mark Christian
f08d48764d
Include partial name in 'undefined partial' exception message
2015-10-19 09:22:54 -07:00
kpdecker
9365b82900
v4.0.3
v4.0.3
2015-09-23 22:41:14 -05:00
kpdecker
bf091777a9
Update release notes
2015-09-23 22:40:45 -05:00
kpdecker
94c840b6ed
Create data frame for @partial-block
...
Fixes #1099
2015-09-23 22:08:59 -05:00
kpdecker
861d6f7b8d
Fix tests under IE
2015-09-23 21:59:58 -05:00
kpdecker
fffb5a985f
Fix iteration over undefined values
...
Allow for iteration on undefined values, but special case undefined and null to prevent rendering errors when not running in strict mode.
Fixes #1093
2015-09-23 21:17:57 -05:00
kpdecker
08781798f5
Allow for escaped ] characters in [] IDs
...
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
2015-09-16 16:15:01 -05:00
kpdecker
641fe335df
Update travis to test node 0.12 and 4.0.0
2015-09-16 16:15:01 -05:00
Kevin Decker
733b7c8752
Merge pull request #1091 from nikolas/patch-2
...
fix typo in release notes
2015-09-04 15:18:48 -05:00
Kevin Decker
9a86e40970
Merge pull request #1090 from nikolas/patch-1
...
grammar fixes in 4.0.0 release notes
2015-09-04 15:18:25 -05:00
Nik Nyby
efad390ffc
fix typo in release notes
2015-09-04 15:53:31 -04:00