summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/base.js
Commit message (Collapse)AuthorAgeFilesLines
* Drop AST constructors in favor of JSONkpdecker2015-08-181-2/+1
| | | | | These were little more than object literal statements that were less clear due to their use of index-based arguments. Fixes #1077
* Add ignoreStandalone compiler optionkpdecker2015-08-131-1/+1
| | | Fixes #1072
* Update for let and optional parameterskpdecker2015-04-201-2/+2
|
* Add full support for es6kpdecker2015-04-161-5/+5
| | | | | | | | 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
* Add instructions for 'spec/mustache' to CONTRIBUTING.md, fix a few typos ↵Or Neeman2014-12-071-1/+1
| | | | elsewere
* Rework strip flags to make clearer at in AST levelkpdecker2014-11-281-1/+3
| | | Rather than keeping state in the AST, which requires some gymnastics, we create a separate visitor flow which does the top down iteration necessary to calculate all of the state needed for proper whitespace control evaluation.
* Update ProgramNode to better match SpiderMonkeykpdecker2014-11-261-1/+1
|
* Update AST location info to match SpiderMonkeykpdecker2014-11-261-1/+6
| | | Part of #889
* Merge branch 'refactor-parser' of github.com:mmun/handlebars.js into ↵kpdecker2014-08-231-2/+8
|\ | | | | | | | | | | | | | | | | mmun-refactor-parser Conflicts: lib/handlebars/compiler/ast.js spec/ast.js src/handlebars.yy
| * Refactor blocks, programs and inversesMartin Muñoz2014-07-291-2/+9
|/
* Export AST as an object rather than modulekpdecker2013-12-011-1/+1
| | | The parser expects the AST object to be mutable, which modules are not.
* Expose current Handlebars namespace fieldskpdecker2013-10-011-1/+1
|
* Use proper default vs. module import semanticskpdecker2013-10-011-1/+1
|
* Further progress towards modularization.Yehuda Katz2013-07-241-3/+3
| | | | | At this point, I have only 2 fails in the Node build, but I'm doing a bunch of manual stuff locally and still have a bunch of hacks.
* Building an AMD fileYehuda Katz2013-07-161-1/+1
|
* Initial work on ES6 modulesYehuda Katz2013-07-011-17/+8
|
* Move Handlerbars.print into printer filekpdecker2013-02-161-3/+0
|
* tests passingTommy Messbauer2013-02-111-1/+1
|
* mergeTommy Messbauer2013-02-111-12/+6
|\
| * Handlebars.parse/precompile/compile can now be passed an already-compiled ↵machty2013-02-071-2/+6
| | | | | | | | Handlebars AST.
| * Use jsmodule for jison parserkpdecker2013-01-131-1/+1
| | | | | | | | | | Removes unnecessary commonjs code generated for the parser. This reduces the size of the parse by about 700bytes and should resolve lookup issues with browserify and other static analysis tools. See #220
| * overzealous approach to implmenting Handlebars.logger.log and 'log' helper.Spike Brehm2012-10-201-10/+0
| |
* | Merged upstream master and ran unit testsTommy Messbauer2012-11-261-2/+2
|\ \ | |/
* | Factory update with tabs to spaces.. sorry :(Tommy Messbauer2012-11-261-19/+19
| |
* | Finished factory patternTommy Messbauer2012-08-291-1/+1
| |
* | Commiting initial factory codeTommy Messbauer2012-08-291-18/+21
|/
* Fix module loading within nodekpdecker2011-07-301-1/+1
|
* Remove unnecessary var declaration.kpdecker2011-07-301-2/+0
|
* Create compiler base file.kpdecker2011-07-301-0/+29