Jason Davies
|
7f8a323efe
|
Add nicer header and title to QUnit test page
|
2010-11-29 21:39:35 +00:00 |
|
Jason Davies
|
ee388dc149
|
Merge branch 'master' of http://github.com/wycats/handlebars.js
|
2010-11-29 15:05:11 +00:00 |
|
wycats
|
9846fb8a28
|
Got Qunit tests running through RSpec and fixed a bunch of bugs... 33 fails from the original suite to go
|
2010-11-28 17:36:05 -08:00 |
|
wycats
|
454d0a85b7
|
Add initial support for blocks
|
2010-11-26 23:45:38 -08:00 |
|
wycats
|
3b0970d8aa
|
Start working on the runtime
|
2010-11-25 23:32:32 -08:00 |
|
wycats
|
b401fc388b
|
Test the parser, and clean up ID having multiple parts
|
2010-11-25 23:32:03 -08:00 |
|
wycats
|
f8b245896d
|
Make the ID node capable of handling paths
TODO: handle invalid paths in the tokenizer or parser
TODO: invalidate "{{ foo/ bar }}"
|
2010-11-25 16:12:50 -08:00 |
|
wycats
|
7d0204bf9f
|
Add some more tests, and properly handle errors across the boundary in tests
|
2010-11-25 16:09:42 -08:00 |
|
wycats
|
4624eddf0b
|
The tokenizer shouldn't get into an infinite loop in certain termination conditions
|
2010-11-25 12:46:25 -08:00 |
|
wycats
|
3388962225
|
Fix the lexer to handle Strings with escaped quotes
|
2010-11-25 11:54:09 -08:00 |
|
wycats
|
83fa737e04
|
Add tests for the tokenizer using RubyRacer
|
2010-11-25 11:53:41 -08:00 |
|
wycats
|
4b2e543d2e
|
Remove node dependency from handlebars.js
|
2010-11-25 11:52:35 -08:00 |
|
wycats
|
7100563373
|
Add a Gemfile for testing
|
2010-11-25 11:51:50 -08:00 |
|
wycats
|
d97bc591a2
|
Restructure files to make more sense in a non-CommonJS world.
|
2010-11-25 02:49:08 -08:00 |
|
wycats
|
38f8ae84fe
|
Explain something in the lexer
|
2010-11-25 00:58:42 -08:00 |
|
wycats
|
85fa2cb65f
|
Initial commit. Note that I'm using CommonJS modules and node purely to help me develop this. If this ends up being useful, I will likely distribute the entire package as a single JS file for easier consumption in the browser.
|
2010-11-25 00:50:57 -08:00 |
|
Alan Johnson
|
d2b8e0296d
|
Got rid of log messages for debugging.
|
2010-11-20 22:03:00 -05:00 |
|
Alan Johnson
|
4b4c13f40d
|
More work on context object. Just one more failing test.
|
2010-11-20 21:40:35 -05:00 |
|
Alan Johnson
|
aa976283db
|
Just two more failing tests on the new constext object rewrite.
|
2010-11-20 17:08:06 -05:00 |
|
Alan Johnson
|
38d2be4cc0
|
Working on getting context object working.
|
2010-11-20 15:26:28 -05:00 |
|
wycats
|
f1e6acf628
|
Revert "Make it possible for helpers to let downstream helpers know what the path to the current object is"
This reverts commit 71dffd95c7.
|
2010-11-19 11:59:44 -08:00 |
|
wycats
|
71dffd95c7
|
Make it possible for helpers to let downstream helpers know what the path to the current object is
|
2010-11-17 18:34:37 -08:00 |
|
wycats
|
766497bb55
|
Add support for multiple params and String literals
|
2010-11-17 16:12:24 -08:00 |
|
wycats
|
75f2c8e3ce
|
Fix indentation issue
|
2010-11-17 13:35:26 -08:00 |
|
wycats
|
a15ae62460
|
Whitespace
|
2010-11-17 13:32:04 -08:00 |
|
Jason Davies
|
54948aad6f
|
Merge branch 'master' of http://github.com/wycats/handlebars.js
|
2010-11-11 23:28:01 +00:00 |
|
Alan Johnson
|
c54cadcf8f
|
Fixed strange stack issue.
|
2010-11-05 15:57:59 -04:00 |
|
Alan Johnson
|
82529f5051
|
Fixed issue where stack isn't passed into partials and also fixed null issue in complex expressions.
|
2010-11-05 13:56:27 -04:00 |
|
Alan Johnson
|
45c961afc8
|
Fixed memoization collision with built in methods. Thanks alphabj\!
|
2010-10-22 16:10:12 -04:00 |
|
Jason Davies
|
5e18cb6298
|
Remove extraneous breaks
|
2010-10-19 12:25:47 +01:00 |
|
Jason Davies
|
ad50cb7efe
|
Merge branch 'master' of http://github.com/wycats/handlebars.js
|
2010-10-19 12:25:05 +01:00 |
|
Jason Davies
|
ed6b999623
|
Remove backslash escapes from default escaping
|
2010-10-19 12:24:43 +01:00 |
|
Alan Johnson
|
198fa4b3c3
|
Getting rid of some debug output.
|
2010-10-13 16:42:44 -04:00 |
|
Alan Johnson
|
1d72f1bea4
|
Switched to using eval expression on basically all expressions.
|
2010-10-13 16:41:19 -04:00 |
|
Alan Johnson
|
3517710578
|
One more readme tweak - last one, I promise.
|
2010-10-12 22:24:02 -04:00 |
|
Alan Johnson
|
2114688c1f
|
Updated readme.
|
2010-10-12 22:23:07 -04:00 |
|
Alan Johnson
|
0788e5d83b
|
Added note about handlebars-contrib.
|
2010-10-12 22:22:25 -04:00 |
|
Alan Johnson
|
295cfe5fd1
|
Fixed issue where using {{.}} as an expression could cause the fallback hash to be rendered instead, if {{.}} is empty.
|
2010-10-12 21:54:10 -04:00 |
|
Alan Johnson
|
7041b3a869
|
Got zero handling cleaned up a bit.
|
2010-10-12 21:43:48 -04:00 |
|
Alan Johnson
|
f436c1d440
|
Added sammy.js link to readme, since they just added support for us as a template plugin (Thanks, Aaron!)
|
2010-09-27 14:03:29 -04:00 |
|
Jason Davies
|
e7d5e72a87
|
Merge branch 'master' of http://github.com/wycats/handlebars.js
|
2010-09-27 17:38:41 +01:00 |
|
Alan Johnson
|
7a8ef3ba78
|
♲
|
2010-09-26 17:55:08 -04:00 |
|
Alan Johnson
|
01273cf00d
|
More README tweaks.
|
2010-09-26 17:53:26 -04:00 |
|
Alan Johnson
|
368f0210e2
|
Tweaked README.
|
2010-09-26 17:47:44 -04:00 |
|
Alan Johnson
|
4989f38ba2
|
Fixed bug where compiler was continuing to think it was looking at partials after the partial tag was done. Closes GH-14.
|
2010-09-26 17:18:57 -04:00 |
|
Alan Johnson
|
f288a75e39
|
Added compiler cache and got rid of TODO file.
|
2010-09-25 17:40:23 -04:00 |
|
Alan Johnson
|
88d0ea90fc
|
Switched empty block handling for expression blocks to use helperMissing.not.
|
2010-09-25 16:42:59 -04:00 |
|
Alan Johnson
|
c1bcd72eb1
|
Reworked the way that expression work a good bit. They're a lot less error prone now.
|
2010-09-24 22:26:10 -04:00 |
|
Jason Davies
|
a07dae5d8e
|
Fix disappearing backslash bug
Backslashes weren't being escaped during compilation, causing templates
containing backslashes to mysteriously lose them.
|
2010-09-23 02:24:00 +08:00 |
|
Alan Johnson
|
7fbf208f4b
|
Tidied up docs a bit.
|
2010-09-22 14:18:28 -04:00 |
|