Skip to content

Commit d57e05e

Browse files
author
Steven Orvell
committed
TemplateStamp
Fix TreeWalker on older browsers were arguments are not optional. Also updates package-lock
1 parent 926a673 commit d57e05e

File tree

2 files changed

+2009
-526
lines changed

2 files changed

+2009
-526
lines changed

lib/mixins/template-stamp.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ import '../utils/boot.js';
1212
import { dedupingMixin } from '../utils/mixin.js';
1313
import { legacyOptimizations } from '../utils/settings.js';
1414

15-
const walker = document.createTreeWalker(document);
15+
const walker = document.createTreeWalker(document, NodeFilter.SHOW_ALL,
16+
null, false);
1617

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

0 commit comments

Comments
 (0)