summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix with operator in no @data modekpdecker2015-08-012-1/+7
|
* Pull sauce tests out of CIkpdecker2015-08-011-1/+1
| | | Disabling these until #1069 can resolve whatever the root issue is.
* Allow empty key name in each iterationkpdecker2015-08-012-1/+11
| | | Fixes #1021
* Add with block parameter supportkpdecker2015-08-012-3/+10
| | | | Fixes #1042
* Fix escaping of non-javascript identifierskpdecker2015-08-012-3/+7
| | | | The ‘ character would cause invalid javascript to be generated as it was not properly escaped. Switching to JSON.stringify safely handles all potential unescaped cases.
* Merge pull request #1068 from 0xack13/masterKevin Decker2015-07-301-1/+1
|\ | | | | Fix typo
| * Merge pull request #1 from 0xack13/0xack13-patch-1-fix-typoSaleh Batati2015-07-301-1/+1
| |\ |/ / | | Fix typo
| * Fix typoSaleh Batati2015-07-301-1/+1
|/
* Merge pull request #1060 from ericbn/issue-1056Kevin Decker2015-07-204-6/+25
|\ | | | | #1056 Fixed grammar for nested raw blocks
| * Added comment about Jison's topState()Eric Nielsen2015-07-191-0/+3
| |
| * Added spec messageEric Nielsen2015-07-161-1/+1
| |
| * #1056 Added spec for nested raw blockEric Nielsen2015-07-151-0/+10
| |
| * #1056 Fixed grammar for nested raw blocksEric Nielsen2015-07-153-6/+12
| |
* | Update jsfiddle link to 3.0.3kpdecker2015-07-191-1/+1
|/
* Merge pull request #1052 from maqnouch/patch-1Kevin Decker2015-07-021-1/+1
|\ | | | | Updated year in License
| * Updated year in LicenseAQNOUCH Mohammed2015-07-021-1/+1
|/
* Fix location information for programskpdecker2015-06-264-6/+74
| | | | | | | | There appears to be a bug in our use of jison causing the parent location information to be reported to programs. I wasn’t able to work through what might be causing this so instead using the location information of the statements collection to generate the proper location information. This is a bit of a hack but we are very far behind on the Jison release train and upgrading will likely be a less than pleasant task that doesn’t provide us much benefit. Fixes #1024
* Merge pull request #1037 from tomxtobin/minor-readme-typo-fixesKevin Decker2015-06-091-2/+2
|\ | | | | Fix minor typos in README
| * Fix minor typos in READMETom X. Tobin2015-06-081-2/+2
|/
* Merge pull request #1019 from aymerick/aymerick-patch-typo-testKevin Decker2015-05-061-1/+1
|\ | | | | Fixes typo in tests
| * Fixes typo in testsAymerick2015-05-061-1/+1
| | | | | | mutache => mustache
* | Add tests for string contextskpdecker2015-05-062-0/+11
|/ | | | Fixes #1013
* Merge pull request #1015 from aymerick/fix-testKevin Decker2015-05-051-1/+1
|\ | | | | Fix tokenizer test for double quoted strings
| * Fix tokenizer test for double quoted stringsAymerick2015-05-011-1/+1
| | | | | | | | | | There is two consecutive tests with the same input data: "{{ foo bar \'baz\' }}" I suppose the first test should be about testing double quoted string.
* | Fix VERSION update scriptkpdecker2015-05-051-3/+3
|/ | | | | This broke after updating to es6 formatted code. Fixes #1016
* v3.0.3v3.0.3kpdecker2015-04-283-3/+3
|
* Update release noteskpdecker2015-04-281-1/+6
|
* Move noConflict implementation to modulekpdecker2015-04-273-25/+25
| | | | | | DRYs the code to avoid escapes like #1004 Fixes #1004
* NPM ignore log fileskpdecker2015-04-271-0/+1
|
* Remove jshint completelykpdecker2015-04-2710-65/+1
|
* Merge pull request #1008 from shannonmoeller/patch-1Kevin Decker2015-04-251-0/+1
|\ | | | | Added handlebars-layouts to the in-the-wild list
| * Added handlebars-layouts to the in-the-wild listShannon Moeller2015-04-241-0/+1
|/ | | I've written a set of helpers which implement layout blocks similar to Jade, Jinja, Swig, Twig, and others. It seems to be gaining some popularity (around 10k npm downloads per month at present) and I would be honored to have it included in the in-the-wild list in case it may prove useful to others.
* v3.0.2v3.0.2kpdecker2015-04-203-3/+3
|
* Update release noteskpdecker2015-04-201-1/+12
|
* Update for let and optional parameterskpdecker2015-04-2015-239/+236
|
* Run the precompiler module through es6 toolchainkpdecker2015-04-204-21/+19
|
* Enable additional es6 features in eslintkpdecker2015-04-203-3/+19
|
* Merge pull request #998 from wycats/babelKevin Decker2015-04-1651-1542/+1789
|\ | | | | Add full support for es6
| * Fix UMD build target generationkpdecker2015-04-161-1/+1
| |
| * Add full support for es6kpdecker2015-04-1651-1542/+1789
|/ | | | | | | | 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 IE test freakoutkpdecker2015-04-141-2/+2
|
* Use captureStackTrace for error handlerkpdecker2015-04-141-0/+4
| | | Provides more stable error stack reporting when running under v8 environments.
* Allow this references in literal statementskpdecker2015-04-144-11/+33
| | | Fixes #967
* Expose Visitor in full browser buildkpdecker2015-04-132-2/+3
| | | Fixes #994
* Allow undefined and null in helper nameskpdecker2015-04-134-3/+21
|
* Ignore branches tested without coverage monitoringkpdecker2015-04-071-1/+2
|
* Remove vestigial codekpdecker2015-04-071-5/+0
|
* Add undefined and null literal supportkpdecker2015-04-0712-2/+65
| | | | | This adds the UndefinedLiteral and NullLiteral to AST. Fixes #990
* Avoid source-map import under AMDkpdecker2015-04-072-4/+16
| | | Fixes #989
* Add require.js error reporting in testskpdecker2015-04-072-4/+35
| | | Adds test coverage for #989
* v3.0.1v3.0.1kpdecker2015-03-244-4/+4
|
* Update release noteskpdecker2015-03-241-1/+10
|
* Merge pull request #984 from johneke/masterKevin Decker2015-03-241-0/+29
|\ | | | | Adding documentation for passing arguments into partials
| * Update README.markdownjohneke2015-03-181-6/+10
| |
| * Adding documentation for parameters in partialsjohneke2015-03-181-0/+25
|/
* Optimize hot path in escapeExpressionkpdecker2015-03-161-13/+15
| | | | | Avoid deoptimizations in v8 due to the duct type check on string instances. Partial fix for #973
* Fix --version flagkpdecker2015-02-281-1/+1
| | | | Fixes #966
* Merge pull request #964 from grassick/patch-1Kevin Decker2015-02-281-1/+1
|\ | | | | default is a reserved word
| * default is a reserved wordgrassick2015-02-181-1/+1
|/ | | Quoting it to fix in older browsers, especially Android 2.3.x.
* Merge pull request #962 from pismute/masterKevin Decker2015-02-161-0/+1
|\ | | | | Add dashbars' link on README.
| * Add dashbars' link on README.Changwoo Park2015-02-161-0/+1
|/
* Fix typokpdecker2015-02-101-1/+1
|
* v3.0.0v3.0.0kpdecker2015-02-104-6/+10
|
* Update release noteskpdecker2015-02-101-1/+51
|
* Merge branch 'marcioj-boolean-literals'kpdecker2015-02-095-8/+50
|\
| * Update AST docs for literal helper nameskpdecker2015-02-091-1/+1
| |
| * Handle all potential literal valueskpdecker2015-02-093-24/+35
| | | | | | Adds support for literal helper names in a few missing cases such as block expressions and subexpressions.
| * Transform literals to path expressions in mustache nodesMarcio Junior2015-02-082-12/+18
| |
| * Test compilation of literal values in mustachesMarcio Junior2015-02-082-1/+21
| |
| * Boolean literals can be passed to mustachesMarcio Junior2015-02-082-0/+5
|/
* 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-072-5/+7
| | | This improves logger resiliency under older browsers.
* Change default log level to infokpdecker2015-02-072-5/+7
| | | | | | 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
* Merge pull request #943 from ogennadi/patch-2Kevin Decker2015-01-211-1/+1
|\ | | | | Properly formatted dot
| * Properly formatted dotOge Nnadi2015-01-201-1/+1
| |
* | Merge pull request #944 from ogennadi/patch-3Kevin Decker2015-01-211-1/+1
|\ \ | |/ |/| Clarified a long sentence
| * Clarified a long sentenceOge Nnadi2015-01-201-1/+1
|/
* Merge pull request #941 from wycats/dynamic-partialKevin Decker2015-01-1813-88/+178
|\ | | | | Add support for dynamic partial names
| * Avoid direct references to sexpr in statementskpdecker2015-01-1810-91/+100
| | | | | | | | | | This allows us to avoid creating unnecessary AST nodes and avoids things like isHelper. Side effect of these changes is that @data functions can now have data parameters passed to them.
| * Update for proposed SubExpression dependency breakkpdecker2015-01-181-19/+17
| | | | | | Avoids parsing against SubExpressions and instead inlines the content that a subexpression otherwise would have. This can still be based via duck typing so should not add much overhead to the compiler.
| * Update PartialExpression AST docskpdecker2015-01-181-2/+2
| |
| * Add support for dynamic partial nameskpdecker2015-01-189-9/+92
|/ | | | | | | | | Uses the subexpression syntax to allow for dynamic partial lookups. Ex: ``` {{> (helper) }} ``` Fixes #933
* Add tests for partial comment whitespace controlkpdecker2015-01-171-3/+7
|
* Include error info when throwing type errorkpdecker2015-01-171-1/+1
|
* Merge pull request #940 from mattflaschen/addMissingReservedWordsKevin Decker2015-01-172-1/+8
|\ | | | | Add missing reserved words so compiler knows to use array syntax:
| * Add missing reserved words so compiler knows to use array syntax:Matthew Flaschen2015-01-172-1/+8
|/ | | | | | | | | | | | | | | | * await * null * true * false IE 8 was failing to compile Handlebars-generated source code because it had helpers.null. I came up with this list by diffing https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords against the ones Handlebars already had. I added two corresponding tests for nameLookup.
* Ignore coverage dir in npm packagekpdecker2015-01-171-0/+1
| | | | Fixes #937
* Merge pull request #938 from diwo/patch-1Kevin Decker2015-01-151-1/+1
|\ | | | | Fix example using #with helper
| * Fix example using #with helperDickson Wong2015-01-141-1/+1
|/ | | Example using #with helper should close tag using {{/with}}
* Merge pull request #932 from wycats/strictKevin Decker2014-12-313-7/+172
|\ | | | | Implement strict and assumeObject modes
| * Implement strict and assumeObject modeskpdecker2014-12-273-7/+172
| | | | | | | | | | | | | | | | Causes templates to throw when lookup fields are not defined within the context. Strict mode will throw when any field is omitted. assumeObjects mode maintains the existing behavior of outputting an empty response when fields are not defined but allows for performance/size optimizations by not doing safety checks for intermediate objects in the lookup chain. Strict mode effectively disables the helperMissing and inverse handling for blockHelperMissing as templates will throw rather than call those features for missing data fields. Fixes #651 Fixes #805
* | Merge pull request #930 from wycats/visitor-updateKevin Decker2014-12-293-38/+192
|\ \ | |/ |/| Add parent tracking and mutation to AST visitors
| * Merge branch 'master' into visitor-updatekpdecker2014-12-275-20/+34
| |\ | |/ |/|
* | Fix sourcemap testkpdecker2014-12-271-2/+2
| |
* | Fix block param evaluation under older IEkpdecker2014-12-272-2/+12
| |
* | Safely handle source map in browser testskpdecker2014-12-271-5/+9
| |
* | Strip unnecessary whitespace in template outputkpdecker2014-12-271-1/+1
| |
* | Update dependencieskpdecker2014-12-271-13/+13
| |
* | Fix duplicate return statement on simple templateskpdecker2014-12-271-1/+1
| |