kpdecker
e3d3eda2e1
Add full support for es6
...
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
2015-04-16 16:43:01 -05:00
kpdecker
fd8484798c
Fix console.log cleanup
2015-02-07 14:31:54 -06:00
kpdecker
810d86d474
Fix global leak in test
2015-02-07 13:28:27 -06:00
kpdecker
cfbef2585d
Fail over to console.log if lacking console method
...
This improves logger resiliency under older browsers.
2015-02-07 13:23:10 -06:00
kpdecker
95421271e3
Change default log level to info
...
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
2015-02-07 12:31:19 -06:00
kpdecker
8babe05953
Bump code coverage
2014-12-26 11:12:47 -06:00
kpdecker
396795c983
Implement block parameters
...
Fixes #907
2014-12-26 00:31:57 -06:00
kpdecker
3a9440f954
Make each helper data uniform
...
Provide @key and @last value for all forms of iteration.
Fixes #910
2014-11-26 08:02:55 -06:00
kpdecker
2f14fa57e5
Fix/simplify tests under sauce
2014-08-15 01:02:26 -05:00
kpdecker
9f07a34955
Additional test coverage
2014-08-15 00:05:37 -05:00
Dan Manges
2bdfd2a31d
Support inverse sections on the with helper
2014-07-16 19:37:01 +00:00
kpdecker
7172d167dd
Provide clear throw on {{#each}}
...
Fixes #773
2014-05-27 10:54:28 -04:00
kpdecker
306feb497c
Implement lookup helper
2014-02-09 17:22:18 -06:00
kpdecker
a9f76e1475
jshint changes
2014-02-09 17:21:49 -06:00
kpdecker
fe4880feaa
Allow implicit context iteration with each
...
Fixes #671
2014-01-17 20:13:00 -06:00
kpdecker
4942324250
Move away from should asserts to internal
...
This is needed as neither Sinon nor Chai support in-browser testing under IE.
2013-12-23 02:19:09 -06:00
kpdecker
1041c1d533
Add tests for object @index and @first handling
2013-12-22 18:46:13 -06:00
kpdecker
84049bf0c5
Add includeZero flag to if conditional
...
Allows for users who desire non-falsy handling of numbers to utilize if while maintaining the legacy if behavior.
Fixes #608
2013-10-14 21:38:19 -05:00
denniskuczynski
e20591b49d
Add @first and @last data variables to #each helper resolving Issue #483
2013-10-12 16:43:17 -05:00
kpdecker
4d7124f6bf
Remove global Handlebars references
2013-10-09 03:21:21 -07:00
kpdecker
cb0c45b29f
Merge branch 'master' into es6-modules
...
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
2013-09-02 18:19:18 -05:00
kpdecker
192887cedc
Merge commit '87b5d4ee61605b026506e92c9e8873d867c5f150' into es6-modules
...
Conflicts:
dist/handlebars.js
dist/handlebars.runtime.js
lib/handlebars/base.js
lib/handlebars/utils.js
2013-09-02 16:19:28 -05:00
kpdecker
94e5ab8593
Add additional @data tests
2013-08-24 12:05:43 -05:00
kpdecker
534d0ebcc3
Add test case
2013-08-15 10:29:37 -05:00
Yehuda Katz
d33408fcbd
Move more testing mutations into the environment
2013-07-26 17:18:56 +00:00
kpdecker
adda0569e0
Refactor qunit unit tests
...
Allows for testing node, browser, and precompiled modes in the node
tests. Also reorganizes the qunit spec file to provide better
organization.
2013-06-01 23:45:43 -05:00