mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
TemplateStamp: fix TreeWalker
IE/older Safari require all arguments.
This commit is contained in:
@@ -16,7 +16,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
|
||||
'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
|
||||
|
||||
Reference in New Issue
Block a user