-
Notifications
You must be signed in to change notification settings - Fork 2k
Comparing changes
Open a pull request
base repository: handlebars-lang/handlebars.js
base: v4.0.6
head repository: handlebars-lang/handlebars.js
compare: v4.0.7
- 10 commits
- 17 files changed
- 4 contributors
Commits on Dec 30, 2016
-
Testcase to verify that compile-errors have a column-property
Related to #1284 The test ensures that the property is there, because it is important to some people.
Configuration menu - View commit details
-
Copy full SHA for c7dc353 - Browse repository at this point
Copy the full SHA c7dc353View commit details -
Make "column"-property of Errors enumerable
Fixes #1284 Appearently, there is a use-case of stringifying the error in order to evaluated its properties on another system. There was a regression from 4.0.5 to 4.0.6 that the column-property of compilation errors was not enumerable anymore in 4.0.6 (due to commit 20c965c) and thus was not included in the output of "JSON.stringify".
Configuration menu - View commit details
-
Copy full SHA for a023cb4 - Browse repository at this point
Copy the full SHA a023cb4View commit details
Commits on Jan 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 406f2ee - Browse repository at this point
Copy the full SHA 406f2eeView commit details
Commits on Feb 14, 2017
-
Avoid duplicate "sourceMappingURL=" lines.
Avoid duplicate // sourceMappingURL=... lines when minifying AND generating a map. UglifyJS2 will write the line when minifying. (cherry picked from commit 660a117)
Configuration menu - View commit details
-
Copy full SHA for 01b0f65 - Browse repository at this point
Copy the full SHA 01b0f65View commit details -
Fix for #1252: Using @partial-block twice in a template not possible
Fixes #1252 - This fix treats partial-blocks more like closures and uses the closure-context of the "invokePartial"-function to store the @partial-block for the partial. - Adds a tes for the fix
Configuration menu - View commit details
-
Copy full SHA for 5a164d0 - Browse repository at this point
Copy the full SHA 5a164d0View commit details -
Add more tests for partial-blocks and inline partials
- Multiple partial-blocks at different nesting levels - Calling partial-blocks twice with nested partial-blocks - Calling the partial-block from within the #each-helper - nested inline partials with partial-blocks on different nesting levels - nested inline partials (twice at each level)
Configuration menu - View commit details
-
Copy full SHA for 63a8e0c - Browse repository at this point
Copy the full SHA 63a8e0cView commit details
Commits on Feb 24, 2017
-
Parser: Change suffix to use ES6 default module export
- This export will be transpiled by Babel for the cjs distribution, but will enable others to use a pure ES6 module distribution - Instanbul: Ignore "parser.js" for coverage reporting. This file was ignored before via annotation, but this has no effect anymore due to the above change - Remove istanbul annotation from `parser-prefix` (@nknapp) Squashed by @nknapp (cherry picked from commit 508347e)
Configuration menu - View commit details
-
Copy full SHA for b617375 - Browse repository at this point
Copy the full SHA b617375View commit details
Commits on Mar 25, 2017
-
Fix context-stack when calling block-helpers on null values
Fixes #1319 Original behaviour: - When a block-helper was called on a null-context, an empty object was used as context instead. (#1093) - The runtime verifies that whether the current context equals the last context and adds the current context to the stack, if it is not. This is done, so that inside a block-helper, the ".." path can be used to go back to the parent element. - If the helper is called on a "null" element, the context was added, even though it shouldn't be, because the "null != {}" Fix: - The commit replaces "null" by the identifiable "container.nullContext" instead of "{}". "nullContext" is a sealed empty object. - An additional check in the runtime verifies that the context is only added to the stack, if it is not the nullContext. Backwards compatibility within 4.0.x-versions: - This commit changes the compiler and compiled templates would not work with runtime-versions 4.0.0 - 4.0.6, because of the "nullContext" property. That's way, the compiled code reads "(container.nullContext || {})" so that the behavior will degrade gracefully with older runtime versions: Everything else will work fine, but GH-1319 will still be broken, if you use a newer compiler with a pre 4.0.7 runtime.
Configuration menu - View commit details
-
Copy full SHA for c8f4b57 - Browse repository at this point
Copy the full SHA c8f4b57View commit details
Commits on Apr 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8e09f0e - Browse repository at this point
Copy the full SHA 8e09f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 606fa55 - Browse repository at this point
Copy the full SHA 606fa55View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.0.6...v4.0.7