kpdecker
eb1cda6fdc
jshint
2013-08-24 12:06:25 -05:00
kpdecker
94e5ab8593
Add additional @data tests
2013-08-24 12:05:43 -05:00
Elving Rodriguez
3b8a061200
Add Swag to the "Handlebars in the Wild" list.
2013-08-24 09:32:01 -07:00
kpdecker
2f1a454467
Move parser generation into grunt file
2013-08-17 12:41:04 -05:00
kpdecker
b7c62d8cc5
Move test runner into grunt
2013-08-17 12:19:13 -05:00
kpdecker
6492fe8c23
Add jshint to grunt exec
2013-08-17 12:16:48 -05:00
kpdecker
3d77d172ec
Move dist dir generation into Grunt
2013-08-17 11:57:50 -05:00
kpdecker
87b5d4ee61
Update npmignore for new files
2013-08-17 09:21:25 -05:00
kpdecker
182ba044bb
Update release notes
2013-08-15 10:33:45 -05:00
kpdecker
0b92db7b0c
Rebuild
2013-08-15 10:30:15 -05:00
kpdecker
534d0ebcc3
Add test case
2013-08-15 10:29:37 -05:00
kpdecker
564afab278
Merge branch 'master' of github.com:artiee/handlebars.js into artiee-master
2013-08-15 10:24:28 -05:00
Kevin Decker
18506e00c9
Merge pull request #535 from sorentwo/alternate-string-coercion
...
Use the String(string) form of string coercion
2013-08-15 08:19:54 -07:00
Parker Selbert
d02c90c0fb
Use the ('' + string) form of string coercion
...
Using string.toString() will throw errors in current versions of Safari
(6.0.5 currently) for some values. The error is a particularly cryptic
"Type Error: type error", which no indication as to the value that
caused the error. By using the '' + string form of coercion the error
doesn't seem to occur.
Depending on the browser used there is a sizable performance increase
in using the concatenation form of coercion. In instances where there
is not a performance improvement (i.e. Firefox), the speed difference
is entirely negligable. See: http://jsperf.com/convert-to-string-bj/3
2013-08-14 22:11:59 -05:00
Tuomas Palenius
db47593e34
Fix #597 . If-helper doesn't anymore consider 0 as falsy value.
2013-08-15 06:05:11 +03:00
Kevin Decker
860853ddb4
Update external url
2013-08-14 13:11:01 -04:00
Kevin Decker
827a09114e
Merge pull request #594 from assemble/master
...
adds Assemble and handlebars-helpers projects to README
2013-08-14 10:10:27 -07:00
Jon Schlinkert
7c1ce99eba
adds Assemble and handlebars-helpers projects to "Handlebars in the Wild" section of README. Bullets are now ordered alphabetically
2013-08-06 19:20:31 -04:00
kpdecker
e62999f9ec
Improve uglify compression
2013-07-30 11:08:58 -05:00
kpdecker
4f5c05ffe9
Simplify inverse only block case
2013-07-30 11:08:46 -05:00
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