From 555252b6b6cc19455f977a578972cfb9b970ef98 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Tue, 5 Jan 2016 10:45:52 -0800 Subject: [PATCH] Remove duplicate code related to dom traversal in Polymer.dom. --- src/lib/dom-api-shadow.html | 22 ---------------------- src/lib/dom-api-shady.html | 22 ---------------------- src/lib/dom-api.html | 26 ++++++++++++++++++++++++++ 3 files changed, 26 insertions(+), 44 deletions(-) diff --git a/src/lib/dom-api-shadow.html b/src/lib/dom-api-shadow.html index 6a3cc300d7..cc73842b6f 100644 --- a/src/lib/dom-api-shadow.html +++ b/src/lib/dom-api-shadow.html @@ -26,28 +26,6 @@ return TreeApi.arrayCopy(this.node.querySelectorAll(selector)); }, - _query: function(matcher, node) { - node = node || this.node; - var list = []; - this._queryElements(node.childNodes, matcher, list); - return list; - }, - - _queryElements: function(elements, matcher, list) { - for (var i=0, l=elements.length, c; (i