summaryrefslogtreecommitdiffstats
path: root/spec/javascript-compiler.js
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest eslintkpdecker2015-09-011-2/+2
|
* Add full support for es6kpdecker2015-04-161-6/+7
| | | | | | | | 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
* Allow undefined and null in helper nameskpdecker2015-04-131-1/+1
|
* Add undefined and null literal supportkpdecker2015-04-071-1/+1
| | | | | This adds the UndefinedLiteral and NullLiteral to AST. Fixes #990
* Add missing reserved words so compiler knows to use array syntax:Matthew Flaschen2015-01-171-0/+6
| | | | | | | | | | | | | | | | * 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.
* Generate source mapskpdecker2014-11-081-1/+1
| | | | | | Allow the precompiler to generate source maps when the srcFile parameter is passed. This refactors large chunks of the code generation pipeline, allowing metadata to be associated with code chunks as well as breaking out much of the code generation logic into a separate helper.
* Optimize buffer generate first and all edge caseskpdecker2014-02-091-0/+2
|
* Convert template spec to object literalkpdecker2014-02-061-1/+1
| | | This allows for metadata to be associated with the template and a simplification of the template init logic.
* Expose compilerInfo and checkRevision as APIskpdecker2013-12-231-0/+22
| | | Fixes #656
* Add JavascriptCompiler public API testskpdecker2013-12-231-0/+47