Skip to content

Commit

Permalink
pass document context to renderTemplateSource
Browse files Browse the repository at this point in the history
Make sure template nodes are created/moved within the correct document

knockout/knockout@c0ef6ec
  • Loading branch information
aw2basc committed May 18, 2015
1 parent bf39e0f commit b2465d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amdTemplateEngine.js
Expand Up @@ -100,7 +100,7 @@
options.afterRender.original = existingAfterRender;
}

return engine.renderTemplateSource(templateSource, bindingContext, options);
return engine.renderTemplateSource(templateSource, bindingContext, options, templateDocument);
};

//expose the template engine at least to be able to customize the path/suffix/plugin at run-time
Expand Down

0 comments on commit b2465d6

Please sign in to comment.