Index: tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate b/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
index f6283de1c63b605dee3ae9d05c3786f5fac63784..2f87efeeb163a637fb1aebd51ecc7a6968e03ae3 100644 |
--- a/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_ShadowRoot.darttemplate |
@@ -6,12 +6,12 @@ |
part of html; |
-/// @domName $DOMNAME |
+/// @domName $DOMNAME$ANNOTATIONS |
class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
$!MEMBERS |
$if DART2JS |
static bool get supported => |
- JS('bool', '!!(window.ShadowRoot || window.WebKitShadowRoot || Element.prototype.webkitCreateShadowRoot)'); |
Emily Fortuna
2013/01/02 18:54:04
why change this line?
blois
2013/01/02 21:28:41
This check was just expanded when the constructor
|
+ JS('bool', '!!(Element.prototype.webkitCreateShadowRoot)'); |
$else |
static bool get supported => _Utils.shadowRootSupported(window.document); |
$endif |