32 Commits

Author SHA1 Message Date
Patrick Steele-Idem
6b7735c3cf Added "isRenderContext" flag to avoid instance of check 2014-06-18 21:35:36 -06:00
Patrick Steele-Idem
ffc9965c10 Removed unnecessary string check 2014-06-18 21:01:36 -06:00
Patrick Steele-Idem
92911693bb Refactored and cleaned up code 2014-06-04 17:45:45 -06:00
Phil Gates-Idem
882bfcada1 Adding ability to use custom context class for rendering 2014-05-27 00:51:24 -04:00
Patrick Steele-Idem
a47003ea02 Always initialize all fields in constructor 2014-05-06 06:16:17 -06:00
Patrick Steele-Idem
25a1ddb9c2 Optimizations 2014-05-05 12:04:07 -06:00
Patrick Steele-Idem
93318fd560 Better initialization of top-level Context 2014-04-29 22:22:34 -06:00
Patrick Steele-Idem
d17070f700 Store original stream as property of context 2014-04-28 13:15:05 -06:00
Patrick Steele-Idem
ced095e58d Added pipe method to Context proto to mimic Stream 2014-04-25 11:51:33 -06:00
Patrick Steele-Idem
db84f53b6d Added support for last flush and piping to a render context 2014-04-22 13:34:39 -06:00
Patrick Steele-Idem
37b8a4bc3b Moved lightweight StringBuilder into Context.js 2014-04-03 15:55:47 -06:00
Patrick Steele-Idem
7ca0e94d81 Better error handling and stream ending 2014-03-28 16:20:01 -06:00
Patrick Steele-Idem
68b836149b Emit the error at the end in case it results in an uncaught exception 2014-03-28 15:48:09 -06:00
Patrick Steele-Idem
1c3245f1e5 beginAsync returns an async context with .end() 2014-03-14 16:05:48 -06:00
Patrick Steele-Idem
ca86bac960 Removed unused code 2014-03-14 14:54:31 -06:00
Patrick Steele-Idem
baa6fc083b Use .end() to know when end can be fired 2014-03-14 14:29:41 -06:00
Patrick Steele-Idem
118f31fe55 Fixed streaming support 2014-03-14 11:55:40 -06:00
Patrick Steele-Idem
6f553e9005 Chaining support 2014-03-14 11:27:45 -06:00
Patrick Steele-Idem
fad97163a1 Code cleanup and improvements 2014-03-14 11:19:37 -06:00
Patrick Steele-Idem
40a58e892e Support Stream as writer 2014-03-13 17:42:33 -06:00
Patrick Steele-Idem
950733fd76 create() instead of createContext() 2014-03-13 11:33:04 -06:00
Patrick Steele-Idem
0b5d489da7 Bug fixes for beginRender/endRender 2014-02-27 17:34:50 -07:00
Patrick Steele-Idem
73ef14cacc Explicitly set the constructor so that context objects can be patched 2014-02-24 16:39:26 -07:00
Patrick Steele-Idem
00ba5c8986 Do not use index.js for main file 2014-02-18 08:47:07 -07:00
Patrick Steele-Idem
3a51ef9dd5 Deleted bad package.json 2014-02-17 21:08:30 -07:00
Phil Gates-Idem
da84d56e12 Using new StringBuilder as context writer if none provided 2014-02-13 17:36:27 -05:00
Patrick Steele-Idem
a833870e05 Added methods to track the beginning and ending of rendering to support async rendering 2014-02-12 10:54:30 -07:00
Patrick Steele-Idem
15a7aa4f90 Fixed event emitter by moving events object into attributes 2014-02-06 19:22:18 -07:00
Steele-Idem
1f9fb38c03 Change to make Context an EventEmitter 2014-02-04 10:46:57 -07:00
Patrick Steele-Idem
2e89fbe9cc Refactoring and simplification 2014-01-29 21:32:07 -08:00
Patrick Steele-Idem
e8a7f66a62 Refactoring 2014-01-24 17:27:13 -07:00
Patrick Steele-Idem
17c16d8b74 Initial code commit 2014-01-24 15:10:21 -07:00