27 Commits

Author SHA1 Message Date
Phillip Gates-Idem
c90b1bf885 Make loading template from String template source easier 2015-10-06 11:06:05 -04:00
Patrick Steele-Idem
5b70db31bb Code cleanup 2015-08-20 10:48:53 -06:00
tindli
7a48feb611 improved code comments 2015-08-18 21:35:09 +02:00
Patrick Steele-Idem
89a9b44dd8 Fixes #88 - Assign global data to the correct out 2015-06-05 19:02:28 -06:00
Patrick Steele-Idem
b96ee8b4cb Performance improvements 2015-05-27 11:20:34 -06:00
Patrick Steele-Idem
7c00085380 #78 Change compiled templates to export a loaded Template instance 2015-05-26 16:57:39 -06:00
Patrick Steele-Idem
41e92df68c Fixes #78 - Passthrough if a provided template is already a loaded template instance 2015-05-22 15:20:28 -06:00
Patrick Steele-Idem
62dcc4e3bf Added @deprecated tags for top-level render and stream methods 2015-05-22 14:23:27 -06:00
Patrick Steele-Idem
0d187d8b9c Fixes #66 - Allow circular dependencies when loading templates 2015-04-22 20:26:07 -06:00
Patrick Steele-Idem
e3e2a26834 Fixes #50 Initialize the loader after the runtime is fully initialized 2015-03-19 15:22:38 -06:00
Patrick Steele-Idem
4c3bb5ac08 Only set global if $global is provided 2015-03-16 14:28:15 -06:00
Patrick Steele-Idem
4d9cdfa706 Fixed #33 2015-02-16 13:03:53 -07:00
Patrick Steele-Idem
94ad082fbd Added code to still allow old compiled templates to load correctly 2015-02-16 07:38:28 -07:00
Patrick Steele-Idem
9da27606dd Fixes #32 Don't use module.exports in compiled output 2015-02-13 17:49:02 -07:00
Patrick Steele-Idem
a95584775e Changes to prevent unoptimized code in V8 2015-02-11 15:04:12 -07:00
icma
90f7dbf8c4 Support $global in template.renderSync
* https://github.com/raptorjs/marko/issues/28
2015-02-04 16:45:05 -08:00
Patrick Steele-Idem
49a6778d24 More comments in the code 2015-01-07 23:37:10 -08:00
Patrick Steele-Idem
0500271787 Fixed #12 Expose AsyncWriter instance when using callback function with template.render 2014-12-30 09:53:50 -07:00
Patrick Steele-Idem
009e99bfe9 Provide hooks to clear caches 2014-12-10 15:21:37 -07:00
Patrick Steele-Idem
adc46efc65 Only invoke callback once in case of an error 2014-11-06 13:32:44 -07:00
Patrick Steele-Idem
6af85c02b7 Default to buffering when streaming template rendering 2014-11-05 11:04:01 -07:00
Patrick Steele-Idem
2ad817a20d Add some error checking for an invalid template path 2014-10-22 11:10:58 -06:00
Phil Gates-Idem
7630333de5 AsyncWriter now emits "finish" (not "end") to conform to Writable stream spec. If given callback then we now listen for "finish" and not "end". 2014-10-10 21:09:32 -04:00
Patrick Steele-Idem
a350c008fb Copy $global props to out.global 2014-09-25 10:58:22 -06:00
Patrick Steele-Idem
7e2925fb00 isRenderContext --> isAsyncWriter 2014-09-22 13:48:02 -06:00
Patrick Steele-Idem
33ab7744a9 Renamed "context" to "out" 2014-09-19 09:33:04 -06:00
Patrick Steele-Idem
36a51b05bb Renamed to marko 2014-09-18 18:02:41 -06:00