Commit Graph

961 Commits

Author SHA1 Message Date
kpdecker 9ca4f9c606 Remove unused var 2013-07-30 11:08:26 -05:00
kpdecker 03310df95e Add strip lex helper method 2013-07-29 21:37:25 -05:00
kpdecker 3bc7d7b998 ID lexer control class 2013-07-29 21:30:56 -05:00
Yehuda Katz 6f580c9beb Global Handlebars.compile uses its env
The basic strategy is that there will be a global Handlebars object for
the browser build, and that object will have a `compile` on it which
uses its environment in the compiler.

It will also be possible to glue things together manually by using the
AMD build and passing the environment to `compile` directly. Some of
these details are TBD.
2013-07-26 18:08:32 +00:00
Yehuda Katz d33408fcbd Move more testing mutations into the environment 2013-07-26 17:18:56 +00:00
Yehuda Katz 5f664dd78b Make the Handlebars environment into an object
The idea is that the environment wraps up the mutable stuff in
Handlebars (like the helpers) and that you could theoretically create a
new one at any time and pass it in to Handlebars.template.

Every test makes a new environment and uses it in template compilation.
2013-07-26 16:50:37 +00:00
kpdecker dcbc3a55a4 Prevent nonsensical root {{^}} 2013-07-24 23:50:12 -05:00
kpdecker 497515c02f Remove braces on single line lex statements
Resolves a parsing issue in the 0.4 branch of jison.
2013-07-24 23:43:56 -05:00
kpdecker 117239ca7c Use ebnf iteration/optional inMustache 2013-07-24 23:39:33 -05:00
kpdecker c373d1c6d4 Use ebnf optional for partial path 2013-07-24 23:38:45 -05:00
kpdecker df7a3fb8c0 Use ebnf iteration for hash production 2013-07-24 23:37:43 -05:00
kpdecker 199f3984c6 Use param production for hash value 2013-07-24 23:36:32 -05:00
kpdecker f9ed0d3085 Use arrow syntax for bnf 2013-07-24 21:57:30 -05:00
Kevin Decker 163b3f9e51 Merge pull request #558 from dmarcotte/update-readme
Update readme to reflect latest rake targets
2013-07-23 22:12:40 -07:00
Yehuda Katz f5c8484ea0 Further progress towards modularization.
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.
2013-07-24 05:03:27 +00:00
Yehuda Katz da130f7745 Building an AMD file 2013-07-16 19:10:37 +00:00
Kevin Decker b5c4a33ab1 Merge pull request #574 from esneider/patch-1
Added missing quotes
2013-07-14 13:11:29 -07:00
Dario Sneidermanis a27e366f28 Added missing quotes 2013-07-12 23:14:50 -03:00
Yehuda Katz 12f8299eb2 More modularization 2013-07-02 18:57:28 +00:00
Kevin Decker fa881d4ce8 Merge pull request #555 from blessenm/precompiler-doc-fix
Added additional options to the doc.
2013-07-01 21:05:27 -07:00
Kevin Decker ad615d9061 Merge pull request #564 from 71104/master
jQuery plugin
2013-07-01 20:29:37 -07:00
Yehuda Katz 88ee4757e7 Initial work on ES6 modules 2013-07-01 13:59:58 -07:00
Alberto La Rocca ca5c3995fe Announcing jQuery plugin 2013-06-27 20:26:16 +02:00
Daniel Marcotte e4929df454 Update readme to reflect latest rake targets 2013-06-12 09:10:22 -07:00
Blessan Mathew 96718441ec Added additional options to the doc.
Added additional precompilation options to the readme doc.
2013-06-09 21:05:58 +05:30
Stefan Penner 8e2416dabb Merge pull request #554 from tricknotes/modify-keyword-type
Modify keywords type in package.json
2013-06-08 17:45:24 -07:00
Ryunosuke SATO 68e647a17e Modify keywords type in package.json
`keywords` should be an array.
- https://npmjs.org/doc/json.html#keywords
2013-06-08 23:19:55 +09:00
Kevin Decker 982cb2d188 Merge pull request #552 from blessenm/bom-precompilation-option
Added BOM removal flag.
2013-06-05 12:30:50 -07:00
Blessan Mathew 7538b8556c Added BOM removal flag.
Byte order mark is now removed from the beginning of the files when b
flag is used.
2013-06-04 23:06:40 +05:30
kpdecker 0f278e1dfc Rebuild 2013-06-03 23:27:38 -05:00
kpdecker c3ff573184 Break JavascriptCompiler into standalone file 2013-06-03 23:27:35 -05:00
Yehuda Katz f11aaa7b7c Update .travis.yml 2013-06-03 00:56:35 -06:00
kpdecker 6174c3b6f8 Remove unnecessary function 2013-06-02 23:36:34 -05:00
kpdecker 7def10195b Create publish_version rake task 2013-06-02 13:18:54 -05:00
kpdecker 0f4ef161d1 Pull out publish_s3 logic 2013-06-02 13:14:31 -05:00
kpdecker bf4ec5eef7 Move helper method with others to match convention 2013-06-02 13:14:07 -05:00
kpdecker 4a545cc686 Fix publish file mapping 2013-06-02 12:54:43 -05:00
kpdecker e2a8bdab3c Prevent name/dir conflict 2013-06-02 12:28:54 -05:00
kpdecker 5de919f2f7 Fix test reference 2013-06-02 12:26:03 -05:00
kpdecker cfd51f6579 Fix empty repo check 2013-06-02 12:25:07 -05:00
kpdecker 2022c94a30 Update release notes 2013-06-02 12:21:10 -05:00
kpdecker bb8bb048aa Pass args to the rake version task 2013-06-02 12:20:01 -05:00
kpdecker b3005f8f9f Merge dist build targets 2013-06-02 12:11:37 -05:00
kpdecker 8f24a2e384 Pull dist file lookup logic out of publish method 2013-06-02 11:30:22 -05:00
kpdecker e624fb50b7 Proper git commit command 2013-06-02 00:52:35 -05:00
kpdecker 80078861f2 Include minimized files in build 2013-06-02 00:41:33 -05:00
kpdecker 26fcebe0c7 Use short SHA name 2013-06-02 00:41:14 -05:00
kpdecker 5ce7232dc3 Fix merge error 2013-06-02 00:37:18 -05:00
kpdecker 9a334400f0 Merge branch 's3-builds-final' of github.com:fivetanley/handlebars.js
Conflicts:
	Gemfile
	Gemfile.lock
	dist/handlebars.js
	dist/handlebars.runtime.js
2013-06-02 00:29:20 -05:00
kpdecker bcc8d00e89 Remove incorrectly commited test file 2013-06-01 23:57:21 -05:00