summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/base.js
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Merged upstream master and ran unit testsTommy Messbauer2012-11-261-11/+21
| |\ \ \
| * | | | Factory update with tabs to spaces.. sorry :(Tommy Messbauer2012-11-261-90/+90
| | | | |
| * | | | Commiting initial factory codeTommy Messbauer2012-08-291-89/+89
| | | | |
* | | | | Updated to 1.0.0-rc.31.0.0-rc.3Peter Wagenet2013-02-141-2/+2
| |_|/ / |/| | |
* | | | Better error messages for precompiler runtime mismatchPeter Wagenet2013-02-091-0/+5
| | | |
* | | | Decouple compiler version checks from release versionsPeter Wagenet2013-02-081-0/+1
| | | |
* | | | Update version1.0.rc.2tomhuda2013-01-181-1/+1
| | | |
* | | | overzealous approach to implmenting Handlebars.logger.log and 'log' helper.Spike Brehm2012-10-201-2/+21
| |/ / |/| |
* | | Implemented ability to iterate over objects, ala for-in.Ross Hadden2012-10-151-6/+19
| | | | | | | | | | | | | | | | | | Also added the 'key' key to looped objects. My goal is to make this {{@key}}, but am still working on it. I would also like to unobtrusively make @key or @index work for arrays.
* | | Fixed an issue where {{#array}} {{/array}} wouldn't pass in anKarl Westin2012-08-271-5/+2
|/ / | | | | | | | | | | | | | | @index data variable. I just thought it would be nice to add in this feature. I'm using the two of these a little interchangable, so if other people are doing that as well, it might help usability.
* | Fix loading under nodekpdecker2012-07-231-3/+3
| |
* | Merge branch 'master' of github.com:wycats/handlebars.jstomhuda2012-07-121-2/+16
|\ \
| * | Add support for @index in #eachYehuda Katz2012-07-051-2/+16
| | |
* | | Bump version to RC1tomhuda2012-05-281-1/+1
|/ /
* | Don't assume execution in the top contexttomhuda2012-05-261-1/+1
| |
* | Wrap base Handlebars in a closure to prevent var leakage - fixes #205Peter Wagenet2012-05-041-0/+4
|/
* JSHint the library and fix a few bugstomhuda2012-02-171-0/+2
|
* Allow function parameters to #if. This was originally disallowed because it ↵Yehuda Katz2011-12-271-4/+7
| | | | | is decidedly not idiomatic Handlebars, which would prefer that you use helpers for these cases, not pollute your context objects with functions to call from your template, but enough people asked for it that I'll give in. I will personally not be using this feature and still strongly recommend that people use helpers in this case.
* Bump versionYehuda Katz2011-12-271-1/+1
|
* Update the version!Alex Sexton2011-11-301-1/+1
|
* Added 'log' helper - See #97Peter Wagenet2011-10-241-0/+4
|
* Create compiler base file.kpdecker2011-07-301-22/+0
|
* Move parser file into compiler subdirkpdecker2011-07-301-1/+1
|
* * Remove legacy support for inverse sections as additional parameters.tomhuda2011-07-071-12/+16
| | | | * Unify inverse and normal block helpers * Make Handlebars.Exception inherit from JS Error
* Merge pull request #66 from rgrove/fix-empty-array-ifAlan Johnson2011-06-271-1/+1
|\ | | | | The "if" block helper shouldn't treat empty arrays as truthy
| * The "if" block helper shouldn't treat empty arrays as truthy.Ryan Grove2011-04-201-1/+1
| | | | | | | | | | | | | | | | | | | | Given the data {foo: []}, the following template previously considered foo to be truthy when it shouldn't have: {{#if foo}} You should not see me! {{else}} You should see me! {{/if}}
* | Update specs and code so that the function passed to block helpers has the ↵tomhuda2011-05-041-1/+1
| | | | | | | | same API as regular compiled templates
* | Add VERSION constant1.0.0.beta.1tomhuda2011-05-031-0/+2
| |
* | Remove unnecessary original runtime implementationtomhuda2011-05-031-16/+0
| |
* | Add a default helperMissing to help catch errors and restore old behaviortomhuda2011-05-031-0/+8
|/
* inserting missing return statement in unless helper (fixes issue #51)Tim Fischbach2011-03-091-1/+1
|
* * Added a few public API methods to JavaScriptCompiler.prototype, so it can ↵tomhuda2011-02-111-1/+2
| | | | | | | | | | | | be subclassed. * made it possible to define an alternate name lookup scheme (so that {{foo}} does not have to be context.foo, but can instead be something like context.get('foo')) * made it possible to substitute an alternate buffer instead of the default empty String and override how the compiled template appends to the buffer * Added the concept of template-local data. In order to enable template-local data, pass true as the second parameter to the template compiler. Then, pass in the data as the fourth parameter (context, helpers, partials, data). These signatures may change before the 1.0 release.
* Updated if helper - missed it in the last cleanup. It no longer supports ↵Alan Johnson2011-02-101-2/+1
| | | | methods as arguments.
* Backed out function helpers.Alan Johnson2011-01-251-4/+2
|
* improved "with" and "each" helpers to support function as argumentRaimonds Simanovskis2011-01-231-2/+4
|
* MergedAlan Johnson2011-01-221-1/+2
|
* Move compile to the right spotwycats2010-12-291-2/+0
|
* Don't need runtime anymore for normal operationwycats2010-12-291-1/+5
|
* Restructure things more simplywycats2010-12-291-0/+113