Kevin Decker
fe3b4cc98e
Merge pull request #730 from wycats/jezell-master
...
Raw block helpers
2014-02-09 15:27:59 -06:00
kpdecker
14b7ef9066
Make raw blocks operate like blocks
2014-02-09 15:11:12 -06:00
Jesse Ezell
9b14dc40a5
raw block helpers
2014-02-09 14:41:32 -06:00
Jesse Ezell
954253305a
Add {{{{ }}}} for raw blocks
2014-02-09 14:41:32 -06:00
kpdecker
7a7ad74ff1
Optimize buffer generate first and all edge cases
2014-02-09 14:24:18 -06:00
kpdecker
d6e86af41a
Update to latest packager version
...
Fixes #705
2014-02-09 13:09:38 -06:00
kpdecker
71ed8b5e93
Merge branch 'master' of github.com:wycats/handlebars.js
2014-02-09 12:20:25 -06:00
kpdecker
7a6f706dc4
Add initial copyright year
2014-02-09 12:19:55 -06:00
PatrickJS
dd365eaede
update copyright year
2014-02-09 12:19:27 -06:00
Kevin Decker
bc8f6792e8
Merge pull request #729 from wycats/precompile-literal
...
Convert template spec to object literal
2014-02-08 20:01:52 -06:00
kpdecker
2812fe2775
Convert template spec to object literal
...
This allows for metadata to be associated with the template and a simplification of the template init logic.
2014-02-06 23:05:45 -08:00
kpdecker
b0e7298523
Remove unnecessary conditional
2014-02-06 23:01:43 -08:00
kpdecker
6ca06d4115
Add depth benchmark cases
2014-02-06 22:50:12 -08:00
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