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

Unified Diff: tools/dom/templates/html/impl/impl_RadioNodeList.darttemplate

Issue 14159020: Make RadioNodeList be NodeList (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/templates/html/impl/impl_RadioNodeList.darttemplate
diff --git a/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate b/tools/dom/templates/html/impl/impl_RadioNodeList.darttemplate
similarity index 51%
copy from tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
copy to tools/dom/templates/html/impl/impl_RadioNodeList.darttemplate
index ce3ebd7b2a99febc428232dc2dd4ad202d1f6783..e1faa65ead37118e0437e83869c6e3a0108adf40 100644
--- a/tools/dom/templates/html/dart2js/impl_RTCIceCandidate.darttemplate
+++ b/tools/dom/templates/html/impl/impl_RadioNodeList.darttemplate
@@ -4,10 +4,13 @@
part of $LIBRARYNAME;
+$if DART2JS
+// Omit RadioNodeList for dart2js. The Dart Form and FieldSet APIs don't
+// currently expose an API the returns RadioNodeList. The only use of a
+// RadioNodeList is to get the selected value and it will be cleaner to
+// introduce a different API for that purpose.
+$else
$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
- factory $CLASSNAME(Map dictionary) {
- return JS('RtcIceCandidate', 'new RTCIceCandidate(#)',
- convertDartToNative_SerializedScriptValue(dictionary));
- }
$!MEMBERS
}
+$endif
« no previous file with comments | « tools/dom/scripts/htmlrenamer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698