Skip to content

Commit

Permalink
TemplateStamp: fix TreeWalker
Browse files Browse the repository at this point in the history
IE/older Safari require all arguments.
  • Loading branch information
Steven Orvell committed Nov 1, 2018
1 parent 5c3bf54 commit c274670
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mixins/template-stamp.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

'use strict';

const walker = document.createTreeWalker(document);
const walker = document.createTreeWalker(document, NodeFilter.SHOW_ALL,
null, false);

// 1.x backwards-compatible auto-wrapper for template type extensions
// This is a clear layering violation and gives favored-nation status to
Expand Down

0 comments on commit c274670

Please sign in to comment.