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

Commit

Permalink
Merge pull request #148 from jmesserly/fix_extra_arg
Browse files Browse the repository at this point in the history
remote unused argument from deepCloneIgnoreTemplateContent
  • Loading branch information
arv committed Nov 1, 2013
2 parents ab62e41 + 0174137 commit 999b234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TemplateBinding.js
Original file line number Diff line number Diff line change
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 999b234

Please sign in to comment.