Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: sdk/lib/html/templates/html/impl/impl_Element.darttemplate

Issue 11473013: Adding deprecated flag to deprecated members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/html/templates/html/impl/impl_Element.darttemplate
diff --git a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
index aab5f014b9ca52dd8fdca8a33df7f541c1802639..bed96fcdf904fb52ca919cd2847a09c7d8ae8bc6 100644
--- a/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
+++ b/sdk/lib/html/templates/html/impl/impl_Element.darttemplate
@@ -373,11 +373,14 @@ abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
/**
* Deprecated, use innerHtml instead.
*/
+ @deprecated
String get innerHTML => this.innerHtml;
+ @deprecated
void set innerHTML(String value) {
this.innerHtml = value;
}
+ @deprecated
void set elements(Collection<Element> value) {
this.children = value;
}
@@ -385,6 +388,7 @@ abstract class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
/**
* Deprecated, use [children] instead.
*/
+ @deprecated
List<Element> get elements => this.children;
/**

Powered by Google App Engine
This is Rietveld 408576698