Commit Graph

168 Commits

Author SHA1 Message Date
Alan Johnson 281e45d6ba Got carriage returns working. 2010-09-13 20:30:15 -04:00
Alan Johnson ed5f10c282 Tweaked block helpers to wrap 'this' up in a context helper correctly. 2010-09-13 08:54:29 -04:00
Alan Johnson a4a46bd8c3 Added creating exports if it doesn't already exist so non-CommonJS environments will work ok. 2010-09-11 21:00:06 -04:00
Alan Johnson 7ff015fd5d CommonJS compatibility. 2010-09-11 18:24:50 -04:00
Alan Johnson b4bac7f4f9 Firefox compatibility fixes. 2010-09-11 18:07:40 -04:00
Alan Johnson 2c3b97bb66 Got detecting Arrays working in firefox. 2010-09-11 09:48:17 -04:00
Alan Johnson 6f35bf4e83 Got rid of erroneous log message. 2010-09-11 09:37:54 -04:00
Alan Johnson 0c3a1cf477 Fixed isFunction to make it work with firefox [xpconnect wrapped native prototype] 2010-09-11 09:37:20 -04:00
James Conroy-Finn 7267f54521 Escape all double quotes when escaping a string 2010-09-10 19:38:04 +08:00
Alan Johnson 6bfff5f97b Got helper functions to always receive a context as their first param. 2010-09-09 20:29:49 -04:00
Alan Johnson 40b1108b2e Got expressions that are helpers with arguments working. 2010-09-09 20:13:08 -04:00
Alan Johnson fee8b8c84e Got rid of compat template. 2010-09-07 15:52:35 -04:00
Alan Johnson c69d5f0943 Added info about submitting changes. 2010-09-06 22:56:53 -04:00
Alan Johnson 0767acc36c Added a readme file and made a few fixes that were discovered while writing it. 2010-09-06 22:53:48 -04:00
Alan Johnson 1a8036650b Added quick usage message to the compiler. 2010-09-06 09:56:08 -04:00
Alan Johnson 9770ffe4f3 Added compiler. 2010-09-05 17:36:14 -04:00
Alan Johnson 370fd4c165 Write a really dumb sample compiler. 2010-09-05 17:19:35 -04:00
Alan Johnson b2ae3c62f0 Updated TODO. 2010-09-05 15:52:55 -04:00
Alan Johnson 2065af7af5 Partials performance improvement. 2010-09-05 15:48:19 -04:00
Alan Johnson 57455e23fd Added basic performance test. 2010-09-05 03:44:04 -04:00
Alan Johnson 88e975d2b2 Got performance test stuff started. 2010-09-03 23:11:29 -05:00
Alan Johnson 222e810190 Got inverted blocks working. 2010-09-03 08:41:32 -05:00
Alan Johnson fa9603f121 Got test case for inverted sections written up. 2010-08-23 22:02:30 -04:00
Alan Johnson 598f333085 Got rid of some debugging output. 2010-08-18 20:57:42 -04:00
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