Index: pkg/polymer/lib/src/loader.dart |
diff --git a/pkg/polymer/lib/src/loader.dart b/pkg/polymer/lib/src/loader.dart |
index afe568465196b1a62a188e73249d0576f348b8fa..f610c4e5ae5915745dde11b98d7036597f210825 100644 |
--- a/pkg/polymer/lib/src/loader.dart |
+++ b/pkg/polymer/lib/src/loader.dart |
@@ -127,7 +127,7 @@ List<String> _discoverScripts(Document doc, String baseUri, |
seen.add(doc); |
bool scriptSeen = false; |
- for (var node in doc.queryAll('script,link[rel="import"]')) { |
+ for (var node in doc.querySelectorAll('script,link[rel="import"]')) { |
if (node is LinkElement) { |
_discoverScripts(node.import, node.href, seen, scripts); |
} else if (node is ScriptElement && node.type == 'application/dart') { |