Index: tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate |
index dd4d70b8a714156b6dd88066c8d5bd117210f52a..122b6f982cae05c3f4cd53a64c186316837c2b91 100644 |
--- a/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_DocumentFragment.darttemplate |
@@ -38,7 +38,7 @@ $endif |
return _docChildren; |
} |
- set children(List<Element> value) { |
+ void set children(List<Element> value) { |
// Copy list first since we don't want liveness during iteration. |
List copy = new List.from(value); |
var children = this.children; |
@@ -58,7 +58,12 @@ $endif |
* [CSS selector specification](http://www.w3.org/TR/css3-selectors/). |
*/ |
ElementList<Element> querySelectorAll(String selectors) => |
+$if JSINTEROP |
+ _querySelectorAll(selectors); |
+$else |
new _FrozenElementList._wrap(_querySelectorAll(selectors)); |
+$endif |
+ |
String get innerHtml { |
final e = new Element.tag("div"); |
@@ -66,7 +71,7 @@ $endif |
return e.innerHtml; |
} |
- set innerHtml(String value) { |
+ void set innerHtml(String value) { |
this.setInnerHtml(value); |
} |