kpdecker
b773a7608d
Use grunt for travis exec
2013-08-25 12:51:34 -05:00
kpdecker
da3788384b
AWS publish tasks
2013-08-25 12:51:17 -05:00
kpdecker
5aacdadff8
Merge branch 'master' into grunt-build
...
Conflicts:
package.json
2013-08-24 23:09:04 -05:00
kpdecker
b7f0d2e1fa
Merge branch 'bench-fixup'
2013-08-24 22:51:28 -05:00
kpdecker
c207c4e048
Rebuild
2013-08-24 22:20:33 -05:00
kpdecker
623fdad59f
Simplify falsy handling
2013-08-24 22:20:23 -05:00
kpdecker
6e6acaac0d
Unify isFunction/isArray handling
2013-08-24 22:20:12 -05:00
kpdecker
4c02d3027c
Optimize partial helper/partial merge handling
2013-08-24 19:52:22 -05:00
kpdecker
a532d28d94
Allow custom helpers for benchmark templates
2013-08-24 16:06:09 -05:00
kpdecker
84420c1eb4
Code style
2013-08-24 16:05:51 -05:00
kpdecker
f7b2bd8039
Better skipped test handling
2013-08-24 16:05:39 -05:00
kpdecker
c40a9eacb2
Differentiate between failures and skipped tests
2013-08-24 16:04:22 -05:00
kpdecker
a74aed15e9
Handle edge case in benchmark layouts
2013-08-24 16:03:55 -05:00
kpdecker
94ba2b95d0
Fix fastest test lookup
2013-08-24 16:03:28 -05:00
kpdecker
b700d91a70
Fix benchmark dependencies
2013-08-24 16:03:06 -05:00
kpdecker
e77c961d40
Add grunt bench command
2013-08-24 16:01:37 -05:00
kpdecker
7efa75684e
Version update task
2013-08-24 13:28:39 -05:00
kpdecker
08989cfcdd
Merge branch 'master' into grunt-build
2013-08-24 12:13:09 -05:00
kpdecker
7e16d6cb0d
Rebuild
2013-08-24 12:11:26 -05:00
kpdecker
0af54b1142
Use extend rather than prototype for createFrame
...
Using prototype has a large performance impact for the common case of a
sparse set of private variable data points. Rather than incurring the
overhead of creating and walking the prototype tree for this, performing
an extend by copy.
2013-08-24 12:10:10 -05:00
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