Tommy Messbauer
7c4813b417
Commiting initial factory code
2012-08-29 12:48:22 -05:00
Karl Westin
acc04c2826
Fixed an issue where {{#array}} {{/array}} wouldn't pass in an
...
@index data variable.
I just thought it would be nice to add in this feature. I'm using
the two of these a little interchangable, so if other people are doing
that as well, it might help usability.
2012-08-27 12:55:55 -07:00
kpdecker
8e9bd6742f
Merge remote-tracking branch 'upstream/master'
2012-08-21 12:51:58 -05:00
Kevin Decker
89f5ab8aaf
Merge pull request #277 from kpdecker/mocha-tests
...
Mocha tests
Add and fix node tests running qunit_spec under mocha and revs the node package to the latest.
2012-08-21 10:51:14 -07:00
kpdecker
dc0426d836
Merge with upstream/master
2012-08-21 12:49:40 -05:00
Yehuda Katz
6761d4c6d1
Merge pull request #276 from HoffmannP/master
...
AMD support (second proposal)
2012-08-16 18:00:18 -07:00
Yehuda Katz
3426969221
Merge pull request #291 from leshill/quotes
...
Recognize bar='baz' hash argument
2012-08-16 17:59:45 -07:00
Les Hill
9ce3032678
Recognize bar='baz' hash argument
2012-08-14 23:12:22 -07:00
fancyoung
4cf0869330
Update README.markdown
...
fix doc demo bug.
2012-08-14 17:09:36 +08:00
kpdecker
201917a1be
Merge remote-tracking branch 'upstream/master'
2012-07-31 13:27:51 -05:00
kpdecker
08e580a23b
1.0.6-2
v1.0.6-2
2012-07-31 11:50:55 -05:00
Peter Wagenet
2b3e777340
Merge pull request #282 from kpdecker/this-param
...
This param
2012-07-30 21:43:13 -07:00
kpdecker
cfc1d534cb
Merge with this-param
2012-07-30 21:49:17 -05:00
kpdecker
4ffe1b8e5a
Fix handling of this parameters in helpers
...
Fixes issue introduced in 727eb26cb6
2012-07-30 21:40:25 -05:00
kpdecker
d8825b1961
this parameter tests
2012-07-30 21:12:03 -05:00
kpdecker
f5289a35ec
1.0.6
v1.0.6
2012-07-23 15:40:07 -05:00
kpdecker
fc99d90337
Fix loading under node
2012-07-23 13:48:27 -05:00
kpdecker
eb509a4b8b
Execute mocha test from npm test
2012-07-23 13:47:52 -05:00
kpdecker
09ac8ac24b
Make jshint happy(er)
2012-07-23 13:45:53 -05:00
kpdecker
adb8486e5f
Use suite rather than module for module decl
2012-07-23 13:44:45 -05:00
kpdecker
1e151e2030
Ignore sublime projects
2012-07-23 13:42:38 -05:00
kpdecker
fe7d16de91
1.0.6beta
v1.0.6beta
2012-07-23 10:36:13 -05:00
Peter Hoffmann
075076975d
cmd flag to compile template with AMD style
2012-07-23 13:45:25 +02:00
tomhuda
8be16c64f9
Add a .rspec
2012-07-12 10:14:21 -07:00
tomhuda
f79af6bfa3
Merge branch 'master' of github.com:wycats/handlebars.js
2012-07-12 10:07:10 -07:00
Yehuda Katz
efb1e25690
Update for change in TRR API
2012-07-12 08:15:10 -07:00
Yehuda Katz
36b242a710
Document lookupData
2012-07-05 23:10:39 -07:00
Yehuda Katz
659be5a690
Reduce duplication
2012-07-05 23:08:57 -07:00
Yehuda Katz
46c04fa71e
Make deep @data trigger the data option
2012-07-05 23:05:55 -07:00
Yehuda Katz
5e8be14d78
Add support for @index in #each
2012-07-05 22:43:50 -07:00
Yehuda Katz
72e05d623c
Add support for @data variables
2012-07-05 22:43:05 -07:00
Yehuda Katz
ff1547ea04
Merge pull request #262 from naholyr/patch-1
...
FIX global leak
2012-06-25 07:40:52 -07:00
Nicolas Chambrier
7a393a972b
FIX global leak
2012-06-25 17:38:27 +03:00
tomhuda
92b6c1401a
Bump version to RC1
2012-05-28 20:05:55 -07:00
tomhuda
0afc8b58d2
Clean up parser tests and AST printer
2012-05-28 19:06:26 -07:00
tomhuda
1082ec2414
Fix a bug where registers were shared
2012-05-28 19:06:08 -07:00
tomhuda
727eb26cb6
Remove unneeded code and add docs
...
There were a few operations that are no longer
needed, so remove them. Also document all
operations.
2012-05-28 17:35:21 -07:00
tomhuda
175c6fae0f
More cleanup
...
* Make block and inverse use the main helper path
* Eliminate separate inverse AST node
2012-05-28 17:00:41 -07:00
tomhuda
3486b530be
Disambiguate more ahead of time
2012-05-28 14:19:48 -07:00
tomhuda
bc5efc1767
Remove unneeded binary opcode stuff
...
It turns out that we don't need to store the
opcodes in a compact way, so don't bother.
2012-05-28 13:28:51 -07:00
Yehuda Katz
90adaa3cc8
Continue work on cleaning up helpers
2012-05-28 13:03:22 -07:00
Yehuda Katz
8786a6c6e2
Start doing earlier work on helpers
2012-05-28 00:15:52 -07:00
Yehuda Katz
246325085f
Simple spec for isolation analysis
2012-05-26 22:17:31 -07:00
Yehuda Katz
68c76c9b2e
Clean up the compiler a bit
2012-05-26 22:17:22 -07:00
tomhuda
facefe8fed
Several improvements to compiled output:
...
* Eliminate legacy support for an options hash
that doubles as a function. This prevented us
from building the hash as a literal, and added
a bunch of code weight
* Create a new "stack literal" construct, that
allows an opcode to push a literal expression
onto the stack. This will not allocate a new
stack variable, and when popped, will simply
return the literal expression as a String.
2012-05-26 14:51:41 -07:00
tomhuda
8e70e3b58b
Don't assume execution in the top context
2012-05-26 14:47:32 -07:00
Yehuda Katz
730c412925
Merge pull request #218 from SlexAxton/master
...
Adding using a 'class' variable name as a 'known issue'
2012-05-06 20:53:52 -07:00
Peter Wagenet
2418feaf19
Wrap base Handlebars in a closure to prevent var leakage - fixes #205
2012-05-04 15:27:50 -07:00
Alex Sexton
c2591f428b
Adding warning in about using 'class' as a variable name.
2012-04-11 21:46:28 -05:00
John Freeman
0872fb6699
block helper "with" should check for empty context
2012-03-31 23:09:27 -05:00