kpdecker
aaec001931
Split the tests into compiler and vm tests
2011-07-30 15:26:21 -05:00
kpdecker
3d9e5070f5
Move mismatched block test from quint to parser tests.
2011-07-30 15:25:25 -05:00
kpdecker
82a1b0e85c
Temporary Handlebars.compile implementation in compiler
2011-07-30 15:24:49 -05:00
kpdecker
600a669d12
Expose Handlebars.precompile method from the compiler.
2011-07-30 15:24:14 -05:00
kpdecker
5aa12b5e09
Rename Handlebars.VM.compile to Handelbars.VM.template
2011-07-30 15:23:01 -05:00
kpdecker
6a6edf5ae6
Simple node template compiler
2011-07-30 12:25:41 -05:00
kpdecker
aeda7e389f
Ignores update
2011-07-30 12:19:30 -05:00
kpdecker
09e79f0587
Package info
2011-07-30 12:19:17 -05:00
kpdecker
4a9270aa38
Fix module loading within node
2011-07-30 12:18:56 -05:00
kpdecker
59f5331db4
Phase 2 of precompiled extraction:
...
Use string representations to pass around the function context
2011-07-30 11:23:24 -05:00
kpdecker
74bd8cac60
Phase 1 of precompiled extraction:
...
Separate template logic from container construction.
2011-07-30 11:10:13 -05:00
kpdecker
542d64f0be
Remove unnecessary var declaration.
2011-07-30 10:44:07 -05:00
kpdecker
5e611205ac
Create compiler base file.
2011-07-30 10:38:36 -05:00
kpdecker
2e77f1c777
Remove the debug file (Suspect broken Due to missing class references)
2011-07-30 10:33:40 -05:00
kpdecker
8c49721c70
Move visitor into compiler subdir
2011-07-30 10:28:31 -05:00
kpdecker
2fc01ff73a
Move art into compiler dir
2011-07-30 10:25:30 -05:00
kpdecker
bba08ad95f
Move printer into compiler dir
2011-07-30 10:23:37 -05:00
kpdecker
034dafddac
Move parser file into compiler subdir
2011-07-30 10:14:59 -05:00
kpdecker
6aa9a30b02
Update node loader for compiler/vm split
2011-07-30 10:12:37 -05:00
kpdecker
f2dccb753f
Break compiler and vm logic into separate files.
2011-07-30 10:11:13 -05:00
kpdecker
471f3b9748
Reduce scope of global variable
2011-07-29 22:45:16 -05:00
kpdecker
a927125909
Can access context variables masked by helpers by scoping with 'this.'
2011-07-29 20:53:47 -05:00
kpdecker
9062cac3f0
Add missing messages in equal tests
2011-07-29 20:45:17 -05:00
tomhuda
059a80661d
* Remove legacy support for inverse sections as additional parameters.
...
* Unify inverse and normal block helpers
* Make Handlebars.Exception inherit from JS Error
2011-07-07 23:09:33 -07:00
Alan Johnson
37e36bf137
Merge pull request #66 from rgrove/fix-empty-array-if
...
The "if" block helper shouldn't treat empty arrays as truthy
2011-06-27 03:15:50 -07:00
Alan Johnson
3c2086eb2a
Merge pull request #98 from Pumpkin/master
...
Updated README to fix code sample mistake.
2011-06-27 03:11:41 -07:00
inook
1ff0b657be
Update README
2011-06-26 10:37:55 +04:00
Yehuda Katz
17dbfa7004
Merge pull request #96 from gleitz/master
...
Allow boolean calls to work with YUI Compressor
2011-06-22 16:37:26 -07:00
gleitz
52900c89f7
removed references to .boolean, which broke the YUI Compressor
2011-06-22 17:18:07 -04:00
gleitz
be8f4f6fb9
Updated the boolean functions to work with YUI compressor. Linted other files for consistency
2011-06-22 13:54:17 -04:00
tomhuda
1482f1ae72
Add BOOLEAN support
2011-06-01 22:57:22 -07:00
tomhuda
0f78345d0c
Add support for INTEGER expressions
2011-06-01 22:33:48 -07:00
Yehuda Katz
4eeda34ad2
Merge pull request #79 from schuyler1d/numbers
...
allow number indexes in paths for array access
2011-05-25 17:08:18 -07:00
Yehuda Katz
ed1be562e2
Merge pull request #81 from schuyler1d/google_json_support
...
support "$" as an ID character: google has a bunch of json that has $t, etc
2011-05-25 17:06:50 -07:00
Yehuda Katz
04b359d15b
Merge pull request #86 from jblotus/master
...
A few bug fixes
2011-05-25 17:06:31 -07:00
Yehuda Katz
f07f70ca42
Merge pull request #68 from rgrove/fix-escaping
...
Add ", ', and ` to the list of chars that need HTML escaping.
2011-05-25 17:05:54 -07:00
James Fuller
28d35180bd
fixing partials with int names
2011-05-24 00:40:09 -04:00
James Fuller
0e22301e8f
fixed a syntax error in documentation example
2011-05-18 19:26:15 -07:00
Schuyler Duveen
4e5cf17311
support "$" as an ID character: google has a bunch of json that has $t, etc values
2011-05-13 11:40:31 -04:00
wycats
a4ca50533d
Add support for line-breaks in mustaches
2011-05-12 12:23:15 -07:00
Schuyler Duveen
1aa512d227
allow number indexes in paths for array access
2011-05-10 12:00:40 -04:00
Ryan Grove
2f4644529c
Remove / from the list of escaped chars and add `.
...
It's probably fine not to escape /, since its only danger is in ending
entities (like &/). This isn't a problem for us, since the badChars
regex won't allow it and the & will get escaped.
It turns out ` can be used to quote attribute values in IE, so it needs
to be escaped along with " and '.
2011-05-09 15:19:23 -07:00
Ryan Grove
d109e31f62
Merge branch 'master' into fix-escaping
...
Conflicts:
lib/handlebars/utils.js
2011-05-09 14:59:51 -07:00
Yehuda Katz
5168037b5a
Edited README.markdown via GitHub
2011-05-05 11:22:03 -07:00
Yehuda Katz
92535a9158
Edited README.markdown via GitHub
2011-05-05 11:16:22 -07:00
Yehuda Katz
4f309bb3aa
Merge pull request #74 from jeroenvandijk/patch-1
...
Add a link to the Readme to the very nice documentation site
2011-05-05 11:14:29 -07:00
Yehuda Katz
b4c949cc07
Merge pull request #73 from nhocki/patch-1
...
Adding missing ) to the upgrading section...
2011-05-05 11:14:04 -07:00
Jeroen van Dijk
90bb568faf
Add a link to the Readme to the very nice documentation site
2011-05-04 01:37:21 -07:00
tomhuda
60040e60fb
Update specs and code so that the function passed to block helpers has the same API as regular compiled templates
2011-05-04 00:03:50 -07:00
Nicolás Hock Isaza
a00054e26b
Adding missing ) to the upgrading section...
2011-05-03 21:09:09 -07:00