Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix with operator in no @data mode | kpdecker | 2015-08-01 | 2 | -1/+7 | |
| | ||||||
* | Pull sauce tests out of CI | kpdecker | 2015-08-01 | 1 | -1/+1 | |
| | | | Disabling these until #1069 can resolve whatever the root issue is. | |||||
* | Allow empty key name in each iteration | kpdecker | 2015-08-01 | 2 | -1/+11 | |
| | | | Fixes #1021 | |||||
* | Add with block parameter support | kpdecker | 2015-08-01 | 2 | -3/+10 | |
| | | | | Fixes #1042 | |||||
* | Fix escaping of non-javascript identifiers | kpdecker | 2015-08-01 | 2 | -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/master | Kevin Decker | 2015-07-30 | 1 | -1/+1 | |
|\ | | | | | Fix typo | |||||
| * | Merge pull request #1 from 0xack13/0xack13-patch-1-fix-typo | Saleh Batati | 2015-07-30 | 1 | -1/+1 | |
| |\ |/ / | | | Fix typo | |||||
| * | Fix typo | Saleh Batati | 2015-07-30 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #1060 from ericbn/issue-1056 | Kevin Decker | 2015-07-20 | 4 | -6/+25 | |
|\ | | | | | #1056 Fixed grammar for nested raw blocks | |||||
| * | Added comment about Jison's topState() | Eric Nielsen | 2015-07-19 | 1 | -0/+3 | |
| | | ||||||
| * | Added spec message | Eric Nielsen | 2015-07-16 | 1 | -1/+1 | |
| | | ||||||
| * | #1056 Added spec for nested raw block | Eric Nielsen | 2015-07-15 | 1 | -0/+10 | |
| | | ||||||
| * | #1056 Fixed grammar for nested raw blocks | Eric Nielsen | 2015-07-15 | 3 | -6/+12 | |
| | | ||||||
* | | Update jsfiddle link to 3.0.3 | kpdecker | 2015-07-19 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #1052 from maqnouch/patch-1 | Kevin Decker | 2015-07-02 | 1 | -1/+1 | |
|\ | | | | | Updated year in License | |||||
| * | Updated year in License | AQNOUCH Mohammed | 2015-07-02 | 1 | -1/+1 | |
|/ | ||||||
* | Fix location information for programs | kpdecker | 2015-06-26 | 4 | -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-fixes | Kevin Decker | 2015-06-09 | 1 | -2/+2 | |
|\ | | | | | Fix minor typos in README | |||||
| * | Fix minor typos in README | Tom X. Tobin | 2015-06-08 | 1 | -2/+2 | |
|/ | ||||||
* | Merge pull request #1019 from aymerick/aymerick-patch-typo-test | Kevin Decker | 2015-05-06 | 1 | -1/+1 | |
|\ | | | | | Fixes typo in tests | |||||
| * | Fixes typo in tests | Aymerick | 2015-05-06 | 1 | -1/+1 | |
| | | | | | | mutache => mustache | |||||
* | | Add tests for string contexts | kpdecker | 2015-05-06 | 2 | -0/+11 | |
|/ | | | | Fixes #1013 | |||||
* | Merge pull request #1015 from aymerick/fix-test | Kevin Decker | 2015-05-05 | 1 | -1/+1 | |
|\ | | | | | Fix tokenizer test for double quoted strings | |||||
| * | Fix tokenizer test for double quoted strings | Aymerick | 2015-05-01 | 1 | -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 script | kpdecker | 2015-05-05 | 1 | -3/+3 | |
|/ | | | | | This broke after updating to es6 formatted code. Fixes #1016 | |||||
* | v3.0.3v3.0.3 | kpdecker | 2015-04-28 | 3 | -3/+3 | |
| | ||||||
* | Update release notes | kpdecker | 2015-04-28 | 1 | -1/+6 | |
| | ||||||
* | Move noConflict implementation to module | kpdecker | 2015-04-27 | 3 | -25/+25 | |
| | | | | | | DRYs the code to avoid escapes like #1004 Fixes #1004 | |||||
* | NPM ignore log files | kpdecker | 2015-04-27 | 1 | -0/+1 | |
| | ||||||
* | Remove jshint completely | kpdecker | 2015-04-27 | 10 | -65/+1 | |
| | ||||||
* | Merge pull request #1008 from shannonmoeller/patch-1 | Kevin Decker | 2015-04-25 | 1 | -0/+1 | |
|\ | | | | | Added handlebars-layouts to the in-the-wild list | |||||
| * | Added handlebars-layouts to the in-the-wild list | Shannon Moeller | 2015-04-24 | 1 | -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.2 | kpdecker | 2015-04-20 | 3 | -3/+3 | |
| | ||||||
* | Update release notes | kpdecker | 2015-04-20 | 1 | -1/+12 | |
| | ||||||
* | Update for let and optional parameters | kpdecker | 2015-04-20 | 15 | -239/+236 | |
| | ||||||
* | Run the precompiler module through es6 toolchain | kpdecker | 2015-04-20 | 4 | -21/+19 | |
| | ||||||
* | Enable additional es6 features in eslint | kpdecker | 2015-04-20 | 3 | -3/+19 | |
| | ||||||
* | Merge pull request #998 from wycats/babel | Kevin Decker | 2015-04-16 | 51 | -1542/+1789 | |
|\ | | | | | Add full support for es6 | |||||
| * | Fix UMD build target generation | kpdecker | 2015-04-16 | 1 | -1/+1 | |
| | | ||||||
| * | Add full support for es6 | kpdecker | 2015-04-16 | 51 | -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 freakout | kpdecker | 2015-04-14 | 1 | -2/+2 | |
| | ||||||
* | Use captureStackTrace for error handler | kpdecker | 2015-04-14 | 1 | -0/+4 | |
| | | | Provides more stable error stack reporting when running under v8 environments. | |||||
* | Allow this references in literal statements | kpdecker | 2015-04-14 | 4 | -11/+33 | |
| | | | Fixes #967 | |||||
* | Expose Visitor in full browser build | kpdecker | 2015-04-13 | 2 | -2/+3 | |
| | | | Fixes #994 | |||||
* | Allow undefined and null in helper names | kpdecker | 2015-04-13 | 4 | -3/+21 | |
| | ||||||
* | Ignore branches tested without coverage monitoring | kpdecker | 2015-04-07 | 1 | -1/+2 | |
| | ||||||
* | Remove vestigial code | kpdecker | 2015-04-07 | 1 | -5/+0 | |
| | ||||||
* | Add undefined and null literal support | kpdecker | 2015-04-07 | 12 | -2/+65 | |
| | | | | | This adds the UndefinedLiteral and NullLiteral to AST. Fixes #990 | |||||
* | Avoid source-map import under AMD | kpdecker | 2015-04-07 | 2 | -4/+16 | |
| | | | Fixes #989 | |||||
* | Add require.js error reporting in tests | kpdecker | 2015-04-07 | 2 | -4/+35 | |
| | | | Adds test coverage for #989 | |||||
* | v3.0.1v3.0.1 | kpdecker | 2015-03-24 | 4 | -4/+4 | |
| | ||||||
* | Update release notes | kpdecker | 2015-03-24 | 1 | -1/+10 | |
| | ||||||
* | Merge pull request #984 from johneke/master | Kevin Decker | 2015-03-24 | 1 | -0/+29 | |
|\ | | | | | Adding documentation for passing arguments into partials | |||||
| * | Update README.markdown | johneke | 2015-03-18 | 1 | -6/+10 | |
| | | ||||||
| * | Adding documentation for parameters in partials | johneke | 2015-03-18 | 1 | -0/+25 | |
|/ | ||||||
* | Optimize hot path in escapeExpression | kpdecker | 2015-03-16 | 1 | -13/+15 | |
| | | | | | Avoid deoptimizations in v8 due to the duct type check on string instances. Partial fix for #973 | |||||
* | Fix --version flag | kpdecker | 2015-02-28 | 1 | -1/+1 | |
| | | | | Fixes #966 | |||||
* | Merge pull request #964 from grassick/patch-1 | Kevin Decker | 2015-02-28 | 1 | -1/+1 | |
|\ | | | | | default is a reserved word | |||||
| * | default is a reserved word | grassick | 2015-02-18 | 1 | -1/+1 | |
|/ | | | Quoting it to fix in older browsers, especially Android 2.3.x. | |||||
* | Merge pull request #962 from pismute/master | Kevin Decker | 2015-02-16 | 1 | -0/+1 | |
|\ | | | | | Add dashbars' link on README. | |||||
| * | Add dashbars' link on README. | Changwoo Park | 2015-02-16 | 1 | -0/+1 | |
|/ | ||||||
* | Fix typo | kpdecker | 2015-02-10 | 1 | -1/+1 | |
| | ||||||
* | v3.0.0v3.0.0 | kpdecker | 2015-02-10 | 4 | -6/+10 | |
| | ||||||
* | Update release notes | kpdecker | 2015-02-10 | 1 | -1/+51 | |
| | ||||||
* | Merge branch 'marcioj-boolean-literals' | kpdecker | 2015-02-09 | 5 | -8/+50 | |
|\ | ||||||
| * | Update AST docs for literal helper names | kpdecker | 2015-02-09 | 1 | -1/+1 | |
| | | ||||||
| * | Handle all potential literal values | kpdecker | 2015-02-09 | 3 | -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 nodes | Marcio Junior | 2015-02-08 | 2 | -12/+18 | |
| | | ||||||
| * | Test compilation of literal values in mustaches | Marcio Junior | 2015-02-08 | 2 | -1/+21 | |
| | | ||||||
| * | Boolean literals can be passed to mustaches | Marcio Junior | 2015-02-08 | 2 | -0/+5 | |
|/ | ||||||
* | Fix console.log cleanup | kpdecker | 2015-02-07 | 1 | -1/+4 | |
| | ||||||
* | Fix global leak in test | kpdecker | 2015-02-07 | 1 | -0/+1 | |
| | ||||||
* | Fail over to console.log if lacking console method | kpdecker | 2015-02-07 | 2 | -5/+7 | |
| | | | This improves logger resiliency under older browsers. | |||||
* | Change default log level to info | kpdecker | 2015-02-07 | 2 | -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-2 | Kevin Decker | 2015-01-21 | 1 | -1/+1 | |
|\ | | | | | Properly formatted dot | |||||
| * | Properly formatted dot | Oge Nnadi | 2015-01-20 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #944 from ogennadi/patch-3 | Kevin Decker | 2015-01-21 | 1 | -1/+1 | |
|\ \ | |/ |/| | Clarified a long sentence | |||||
| * | Clarified a long sentence | Oge Nnadi | 2015-01-20 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #941 from wycats/dynamic-partial | Kevin Decker | 2015-01-18 | 13 | -88/+178 | |
|\ | | | | | Add support for dynamic partial names | |||||
| * | Avoid direct references to sexpr in statements | kpdecker | 2015-01-18 | 10 | -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 break | kpdecker | 2015-01-18 | 1 | -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 docs | kpdecker | 2015-01-18 | 1 | -2/+2 | |
| | | ||||||
| * | Add support for dynamic partial names | kpdecker | 2015-01-18 | 9 | -9/+92 | |
|/ | | | | | | | | | Uses the subexpression syntax to allow for dynamic partial lookups. Ex: ``` {{> (helper) }} ``` Fixes #933 | |||||
* | Add tests for partial comment whitespace control | kpdecker | 2015-01-17 | 1 | -3/+7 | |
| | ||||||
* | Include error info when throwing type error | kpdecker | 2015-01-17 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #940 from mattflaschen/addMissingReservedWords | Kevin Decker | 2015-01-17 | 2 | -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 Flaschen | 2015-01-17 | 2 | -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 package | kpdecker | 2015-01-17 | 1 | -0/+1 | |
| | | | | Fixes #937 | |||||
* | Merge pull request #938 from diwo/patch-1 | Kevin Decker | 2015-01-15 | 1 | -1/+1 | |
|\ | | | | | Fix example using #with helper | |||||
| * | Fix example using #with helper | Dickson Wong | 2015-01-14 | 1 | -1/+1 | |
|/ | | | Example using #with helper should close tag using {{/with}} | |||||
* | Merge pull request #932 from wycats/strict | Kevin Decker | 2014-12-31 | 3 | -7/+172 | |
|\ | | | | | Implement strict and assumeObject modes | |||||
| * | Implement strict and assumeObject modes | kpdecker | 2014-12-27 | 3 | -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-update | Kevin Decker | 2014-12-29 | 3 | -38/+192 | |
|\ \ | |/ |/| | Add parent tracking and mutation to AST visitors | |||||
| * | Merge branch 'master' into visitor-update | kpdecker | 2014-12-27 | 5 | -20/+34 | |
| |\ | |/ |/| | ||||||
* | | Fix sourcemap test | kpdecker | 2014-12-27 | 1 | -2/+2 | |
| | | ||||||
* | | Fix block param evaluation under older IE | kpdecker | 2014-12-27 | 2 | -2/+12 | |
| | | ||||||
* | | Safely handle source map in browser tests | kpdecker | 2014-12-27 | 1 | -5/+9 | |
| | | ||||||
* | | Strip unnecessary whitespace in template output | kpdecker | 2014-12-27 | 1 | -1/+1 | |
| | | ||||||
* | | Update dependencies | kpdecker | 2014-12-27 | 1 | -13/+13 | |
| | | ||||||
* | | Fix duplicate return statement on simple templates | kpdecker | 2014-12-27 | 1 | -1/+1 | |
| | |