Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
remote unused argument from deepCloneIgnoreTemplateContent
Browse files Browse the repository at this point in the history
  • Loading branch information
John Messerly committed Nov 1, 2013
1 parent ab62e41 commit 0174137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TemplateBinding.js
Expand Up @@ -790,14 +790,14 @@
addBindings(child, model, delegate);
}

function deepCloneIgnoreTemplateContent(node, delegate) {
function deepCloneIgnoreTemplateContent(node) {
var clone = node.cloneNode(false);
if (node.isTemplate_) {
return clone;
}

for (var child = node.firstChild; child; child = child.nextSibling) {
clone.appendChild(deepCloneIgnoreTemplateContent(child, delegate))
clone.appendChild(deepCloneIgnoreTemplateContent(child))
}

return clone;
Expand Down

0 comments on commit 0174137

Please sign in to comment.