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

Unified Diff: frog/corejs.dart

Issue 9478021: Add some sweet XML classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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 | « client/tests/client/html/util.dart ('k') | frog/minfrog » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/corejs.dart
diff --git a/frog/corejs.dart b/frog/corejs.dart
index e15beab53f84cf384d8ae06b5e11378596b49c22..9df6b77b3939b993c9f658193a893c4593047e42 100644
--- a/frog/corejs.dart
+++ b/frog/corejs.dart
@@ -408,6 +408,8 @@ $defProp(Object.prototype, '$typeNameOf', function() {
name = 'DOMWindow';
} else if (name == 'Document') {
name = 'HTMLDocument';
+ } else if (name == 'XMLDocument') {
+ name = 'Document';
}
return name;
});""";
« no previous file with comments | « client/tests/client/html/util.dart ('k') | frog/minfrog » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698