Skip to content
This repository has been archived by the owner on Jan 26, 2019. It is now read-only.

Updates if and unless helper behavior for handlebars 4 #137

Merged

Conversation

stevejordan
Copy link

handlebars.js 4.0.0 changed the depth behaviour when using the if and
unless conditionals - handlebars-lang/handlebars.js#1028

The context depth is no longer altered by the {{#if}} and {{#unless}} conditionals.

This commit changes the handlebars.php helpers to match.

handlebars.js 4.0.0 changed the depth behaviour when using the if and
unless conditionals - handlebars-lang/handlebars.js#1028

This commit changes the handlebars.php helpers to match.
@everplays
Copy link
Contributor

thanks @stevejordan. I'll merge for the new version.

@everplays everplays merged commit fe4e79e into XaminProject:master Jul 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants