Commit Graph

1128 Commits

Author SHA1 Message Date
kpdecker 8f07bbabea Add quotes to exception 2014-01-20 00:55:53 -06:00
kpdecker 4679b1d931 Include content on binary output test failure 2014-01-18 09:29:47 -06:00
kpdecker cea57c05e2 Optimize initData for root defined case 2014-01-18 09:23:11 -06:00
kpdecker 311be67bde Add partial and helper unregister APIs
Fixes #669
2014-01-18 09:22:29 -06:00
Kevin Decker 88c52ded2e Merge pull request #712 from wycats/track-ids
Add trackIds compiler flag
2014-01-17 21:36:01 -08:00
kpdecker 5a0bcb932d Fix handler execution in nondata/nonid mode 2014-01-17 23:24:35 -06:00
kpdecker 49fcf10de2 Add contextPath tracking in builtin helpers 2014-01-17 23:15:18 -06:00
kpdecker ace2896ec8 Add trackIds compiler flag
Allows helpers that care about where a particular field came from derive this data while maintaining backward compatibility with existing helpers.
2014-01-17 23:15:17 -06:00
kpdecker 9df919083d Create track ids test stub 2014-01-17 23:15:17 -06:00
kpdecker 103e5f8409 Only lint 1 set of release content 2014-01-17 23:11:35 -06:00
kpdecker a14daca1c6 Simplify sauce test environments 2014-01-17 23:11:13 -06:00
kpdecker 33921beaa0 Fix missing parameters for pathed mustaches
Fixes #658
2014-01-17 23:09:59 -06:00
kpdecker d4cfe90959 Allow decimal number values
Fixes #472
2014-01-17 20:42:02 -06:00
kpdecker 051618c024 Always process explicitly passed files in CLI
Fixes #689
2014-01-17 20:16:10 -06:00
kpdecker fe4880feaa Allow implicit context iteration with each
Fixes #671
2014-01-17 20:13:00 -06:00
Kevin Decker 363cb4b0fb Merge pull request #182 from wycats/partial-hash
Context different for partial
2014-01-17 16:07:02 -08:00
kpdecker e290ec24f1 Test more concrete behavior in partial hash test 2014-01-17 17:51:52 -06:00
kpdecker 45ae86a248 Implement partial hash evaluation 2014-01-17 17:51:52 -06:00
kpdecker f90981adf6 Add partial hash parser support 2014-01-17 17:51:52 -06:00
Kevin Decker 93a3725480 Merge pull request #711 from wycats/git-tag
Attempt to resolve git tag using describe
2014-01-17 15:51:30 -08:00
kpdecker 1b8c0e3c76 Use git describe to lookup tag 2014-01-17 17:43:48 -06:00
kpdecker 1b0b44a5b7 Remove apt git install 2014-01-17 17:18:11 -06:00
Kevin Decker f9e0272513 Merge pull request #704 from blakeembrey/clean-compiler
JavaScript Compiler Cleanup
2014-01-17 12:49:52 -08:00
Blake Embrey 13633e7896 Improve usefulness of extend util, properly use namespace property, update setup options to use a hash helper. 2014-01-16 21:24:26 +10:00
Kevin Decker 5659db4877 Merge pull request #634 from wycats/name-option
It would be great to have the helper name passed to `blockHelperMissing`
2014-01-15 08:42:32 -08:00
Kevin Decker cb80f46843 Merge pull request #392 from wycats/root-data
Access to root context in partials and helpers
2014-01-15 08:42:11 -08:00
kpdecker f650b0d69e Expose the initial context via @root 2014-01-15 09:41:53 -06:00
Kevin Decker d841ad5962 Merge pull request #707 from wycats/git-fix
Attempt manual install of git in travis
2014-01-15 07:13:51 -08:00
kpdecker fe9e93fc4d Attempt manual install of git in travis 2014-01-15 08:57:21 -06:00
Yehuda Katz 1a91fbda40 Merge pull request #706 from scottgonzalez/readme-with
README: Use with helper instead of relying on blockHelperMissing
2014-01-14 12:39:20 -08:00
Scott González 91aa96da7d README: Use with helper instead of relying on blockHelperMissing 2014-01-14 15:35:27 -05:00
Kevin Decker db7c9f3565 Merge pull request #703 from nbibler/patch-1
Add MIT license identification to the Ruby gemspec
2014-01-09 23:04:00 -08:00
Nathaniel Bibler 76b47e3393 Add MIT license identification to the Ruby gemspec 2014-01-08 22:05:16 -05:00
kpdecker d385e2cab6 Cleanup now unused code in jscompiler 2014-01-06 16:07:56 -06:00
kpdecker 0f328f375e Include name option for all helper calls
All helper calls will have access to `options.name` which is the first id value of the mustache operation.

As part of this the helperMissing call has been simplified to remove the indexed name in order to optimize the call. This is a breaking change.

Fixes #634
2014-01-06 16:07:56 -06:00
kpdecker c73aceb3d3 Refactor out pushParams method
Simplifies hash and param push logic
2014-01-06 14:41:23 -06:00
kpdecker daeecf825c Track stringParams mode in local state vars 2014-01-06 02:55:13 -06:00
kpdecker 607748af3b Add better logging of test compile errors 2014-01-06 02:45:10 -06:00
kpdecker 7197289364 Update release instructions 2014-01-06 02:45:09 -06:00
kpdecker fc60f16475 Fix DATA value in stringParams mode
Fixes #699
2014-01-06 02:45:09 -06:00
Kevin Decker 08fab253ef Merge pull request #700 from blakeembrey/valid-js-variable
Remove redundant conditions
2014-01-05 21:15:54 -08:00
Blake Embrey 3d9685c6a2 Remove redundant conditions. 2014-01-05 12:14:24 -05:00
kpdecker 6d996ef270 Simplify ambiguous code
Remove if conditional in favor of boolean failover.
2014-01-04 09:19:58 -06:00
Kevin Decker 55c7cbbbfa Merge pull request #697 from jwilm/handlebars-in-wild-addition
Add koa-hbs to "handlebars in the wild" list
2014-01-03 11:33:47 -08:00
Kevin Decker e9f3a169c9 Merge pull request #698 from osiris43/master
Fix for issue #673
2014-01-03 10:53:18 -08:00
Brett Bim 70b27bcef6 Fix for issue #673 - Parser task did not execute correctly on windows environments because of forward/backward slash issues 2014-01-02 11:36:01 -06:00
Joe Wilm a1df862f06 Add koa-hbs to "handlebars in the wild" list 2014-01-01 20:21:27 -08:00
kpdecker 0c6829f8af v1.3.0 v1.3.0 2014-01-01 22:10:31 -06:00
kpdecker 2b9f3c195f Update release notes 2014-01-01 22:09:50 -06:00
kpdecker f445b96cb7 Merge branch 'master' of github.com:wycats/handlebars.js 2014-01-01 19:42:16 -06:00