diff --git a/runtime/marko-runtime.js b/runtime/marko-runtime.js index d223222da..1e1204855 100644 --- a/runtime/marko-runtime.js +++ b/runtime/marko-runtime.js @@ -240,10 +240,16 @@ function load(templatePath, options) { exports.load = load; +/** + * @deprecated Use load(templatePath) instead + */ exports.render = function (templatePath, data, out) { return load(templatePath).render(data, out); }; +/** + * @deprecated Use load(templatePath) instead + */ exports.stream = function(templatePath, data) { return load(templatePath).stream(data); };