summaryrefslogtreecommitdiffstats
path: root/spec/builtins.js
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest eslintkpdecker2015-09-011-2/+2
|
* Fix #each when last object entry has empty keyDennis Kuczynski2015-08-301-0/+10
|
* Avoid depth creation when context remains the samekpdecker2015-08-031-0/+5
| | | | | | | 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
* Avoid log output in testkpdecker2015-08-031-1/+7
|
* Improve logging APIkpdecker2015-08-031-1/+61
| | | | | | | 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
* Fix with operator in no @data modekpdecker2015-08-011-0/+6
|
* Add with block parameter supportkpdecker2015-08-011-0/+4
| | | | Fixes #1042
* Add full support for es6kpdecker2015-04-161-144/+145
| | | | | | | | Converts the tool chain to use babel, eslint, and webpack vs. the previous proprietary solutions. Additionally begins enforcing additional linting concerns as well as updates the code to reflect these rules. Fixes #855 Fixes #993
* Fix console.log cleanupkpdecker2015-02-071-1/+4
|
* Fix global leak in testkpdecker2015-02-071-0/+1
|
* Fail over to console.log if lacking console methodkpdecker2015-02-071-1/+5
| | | This improves logger resiliency under older browsers.
* Change default log level to infokpdecker2015-02-071-4/+6
| | | | | | Eventually we want to fix this API so that you can provide per-instance levels, etc but for now this is a quick fix. Fixes wycats/handlebars-site#91
* Bump code coveragekpdecker2014-12-261-2/+1
|
* Implement block parameterskpdecker2014-12-261-0/+10
| | | Fixes #907
* Make each helper data uniformkpdecker2014-11-261-0/+10
| | | | | Provide @key and @last value for all forms of iteration. Fixes #910
* Fix/simplify tests under saucekpdecker2014-08-151-0/+4
|
* Additional test coveragekpdecker2014-08-151-12/+90
|
* Support inverse sections on the with helperDan Manges2014-07-161-0/+4
|
* Provide clear throw on {{#each}}kpdecker2014-05-271-4/+5
| | | Fixes #773
* Implement lookup helperkpdecker2014-02-091-0/+21
|
* jshint changeskpdecker2014-02-091-3/+5
|
* Allow implicit context iteration with eachkpdecker2014-01-171-0/+5
| | | Fixes #671
* Move away from should asserts to internalkpdecker2013-12-231-1/+1
| | | | This is needed as neither Sinon nor Chai support in-browser testing under IE.
* Add tests for object @index and @first handlingkpdecker2013-12-221-0/+21
|
* Add includeZero flag to if conditionalkpdecker2013-10-141-2/+5
| | | | | Allows for users who desire non-falsy handling of numbers to utilize if while maintaining the legacy if behavior. Fixes #608
* Add @first and @last data variables to #each helper resolving Issue #483denniskuczynski2013-10-121-0/+40
|
* Remove global Handlebars referenceskpdecker2013-10-091-6/+1
|
* Merge branch 'master' into es6-moduleskpdecker2013-09-021-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gruntfile.js Rakefile dist/handlebars.js dist/handlebars.runtime.js lib/handlebars.js lib/handlebars/base.js lib/handlebars/runtime.js lib/handlebars/utils.js package.json
| * Add additional @data testskpdecker2013-08-241-0/+10
| |
* | Merge commit '87b5d4ee61605b026506e92c9e8873d867c5f150' into es6-moduleskpdecker2013-09-021-0/+2
|\ \ | |/ | | | | | | | | | | | | Conflicts: dist/handlebars.js dist/handlebars.runtime.js lib/handlebars/base.js lib/handlebars/utils.js
| * Add test casekpdecker2013-08-151-0/+2
| |
* | Move more testing mutations into the environmentYehuda Katz2013-07-261-3/+6
|/
* Refactor qunit unit testskpdecker2013-06-011-0/+125
Allows for testing node, browser, and precompiled modes in the node tests. Also reorganizes the qunit spec file to provide better organization.