Alan Johnson
|
a9c875e0a9
|
Got basic inverted sections working.
|
2010-08-18 20:57:02 -04:00 |
|
Alan Johnson
|
2a112fe07f
|
Made progress on inverted sections. Functions almost work now, and expressions aren't far behind.
|
2010-08-17 00:46:04 -04:00 |
|
Alan Johnson
|
8f76f99663
|
Merge branch 'master' into inverted_sections
|
2010-08-15 16:23:00 -04:00 |
|
Alan Johnson
|
dc318908d3
|
Updated TODO.
|
2010-08-15 16:22:39 -04:00 |
|
Alan Johnson
|
cbc8153edb
|
Merge branch 'master' of github.com:wycats/handlebars.js
|
2010-08-15 16:22:04 -04:00 |
|
Alan Johnson
|
a04a8e792b
|
Got partials to cache inside of fallback/partials itself and added an exception for when partials aren't defined.
|
2010-08-15 16:21:49 -04:00 |
|
Alan Johnson
|
135147173b
|
Write tests for inverted sections.
|
2010-08-15 16:10:26 -04:00 |
|
Alan Johnson
|
f0bb7b578a
|
|
2010-08-13 04:57:39 -07:00 |
|
Alan Johnson
|
467024d1e2
|
FTiny test tweak - quoted href of a link in one of the test templates, just because it was bugging me.
|
2010-08-12 23:15:01 -04:00 |
|
Alan Johnson
|
5bd5d4eed4
|
Fixed up an errant console.log.
|
2010-08-12 23:13:04 -04:00 |
|
Alan Johnson
|
ad6a53e277
|
Got escaping of text working, I think.
|
2010-08-12 23:12:26 -04:00 |
|
Alan Johnson
|
57aadef7c1
|
Added test for a partial inside of a partial.
|
2010-08-12 22:46:20 -04:00 |
|
Alan Johnson
|
ab757858a2
|
Marked partials off of the list.
|
2010-08-12 21:29:50 -04:00 |
|
Alan Johnson
|
4f1d6e92bd
|
Added partials.
|
2010-08-12 21:29:19 -04:00 |
|
Alan Johnson
|
be56661af1
|
Took escaping off of the TODO list.
|
2010-08-08 18:02:32 -04:00 |
|
Alan Johnson
|
cd4d0453f2
|
Tested that safestrings don't get escaped.
|
2010-08-08 18:01:42 -04:00 |
|
Alan Johnson
|
792251f6c9
|
Added the new safestring type and a test for its implementation.
|
2010-08-08 17:56:35 -04:00 |
|
Alan Johnson
|
d5d06c71f0
|
Added ability to specify unescaped items with &.
|
2010-08-08 16:34:19 -04:00 |
|
Alan Johnson
|
8a1dd118af
|
Realized I goofed in one spot. Fixed\!
|
2010-08-08 00:25:55 -04:00 |
|
Alan Johnson
|
a74794ba8d
|
Got escaping working, as well as avoiding escaping with {{{
|
2010-08-08 00:14:03 -04:00 |
|
wycats
|
5459b0ee3a
|
For real this time
|
2010-08-07 19:50:24 -07:00 |
|
wycats
|
630978c15d
|
Added TODO before 1.0
|
2010-08-07 19:48:49 -07:00 |
|
wycats
|
c907e80d15
|
Add a comment and reorganize a few things
|
2010-08-07 19:27:10 -07:00 |
|
Alan Johnson
|
a9dfa3605c
|
Refactored some stuff.
|
2010-08-07 21:46:41 -04:00 |
|
Alan Johnson
|
e373f08bd1
|
Bit of cleanup on the context code.
|
2010-08-07 16:23:01 -04:00 |
|
Alan Johnson
|
ccbb241ac9
|
Took out a console.log that was hanging around.
|
2010-08-06 00:36:02 -04:00 |
|
Alan Johnson
|
13ceb010ba
|
Using this.__get__ inside of functions called as expressions now works.
|
2010-08-06 00:34:03 -04:00 |
|
Alan Johnson
|
28d699233a
|
Added support for expressions that reference functions.
|
2010-08-05 23:59:59 -04:00 |
|
Alan Johnson
|
03d06fa70a
|
Got rid of some debugging output.
|
2010-08-05 23:41:24 -04:00 |
|
Alan Johnson
|
21d779bb54
|
Got rid of failing test. I'll take another stab some other time.
|
2010-08-04 23:40:15 -04:00 |
|
Alan Johnson
|
4950beea1c
|
Made path parser reusable so that we can use it inside of __get__.
|
2010-08-04 22:18:40 -04:00 |
|
Alan Johnson
|
54838cd90c
|
Added support for this keyword in paths.
|
2010-08-04 21:54:57 -04:00 |
|
Alan Johnson
|
4569684998
|
Updated the path parsing in lookupFor to be a bit smarter and added parse errors for some of the more tricky ones.
|
2010-08-03 23:26:40 -04:00 |
|
Alan Johnson
|
327744afaf
|
Added parse errors for trying to jump out of context after moving into context in path expressions.
|
2010-08-03 22:49:36 -04:00 |
|
Alan Johnson
|
5d08ed629d
|
Got accessing data in nested objects working using parent/child syntax.
|
2010-08-03 01:59:39 -04:00 |
|
Alan Johnson
|
135e7c34cd
|
Got more deeply neested context references working and tested.
|
2010-08-03 01:43:35 -04:00 |
|
Alan Johnson
|
7e036fb952
|
Working on test for ../../omg
|
2010-08-03 00:05:24 -04:00 |
|
Alan Johnson
|
edb6b238d8
|
Set stack to not be global.
|
2010-08-02 23:44:06 -04:00 |
|
Alan Johnson
|
acfef657d4
|
Added basic nested context lookups and context stack.
|
2010-08-02 23:29:37 -04:00 |
|
wycats
|
ae98f233f1
|
Add fallback hash (useful for a helper Hash).
* available globally per top-level function regardless of iteration
|
2010-08-01 03:18:41 -07:00 |
|
wycats
|
8714a581e9
|
First pass at getting booleans working
|
2010-07-31 18:26:32 -07:00 |
|
wycats
|
755f854c50
|
Reorganize things and remove unneeded dependency on jQuery
|
2010-07-31 12:00:11 -07:00 |
|
wycats
|
a83e87e5ae
|
Add support for comments
|
2010-07-31 11:51:50 -07:00 |
|
wycats
|
ac669c97b7
|
Initial handlebars commit and parser. Simple {{}} works.
|
2010-07-31 01:23:28 -07:00 |
|