Skip to content

Commit

Permalink
TemplateStamp
Browse files Browse the repository at this point in the history
Fix TreeWalker on older browsers were arguments are not optional.

Also updates package-lock
  • Loading branch information
Steven Orvell committed Nov 1, 2018
1 parent 926a673 commit d57e05e
Show file tree
Hide file tree
Showing 2 changed files with 2,009 additions and 526 deletions.
3 changes: 2 additions & 1 deletion lib/mixins/template-stamp.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ import '../utils/boot.js';
import { dedupingMixin } from '../utils/mixin.js';
import { legacyOptimizations } from '../utils/settings.js';

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
Loading

0 comments on commit d57e05e

Please sign in to comment.