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

Unified Diff: tools/dom/src/dartium_Platform.dart

Issue 13954014: Add Supported class to dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Moved to Platform.supportsTypedData 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/src/dart2js_Platform.dart ('k') | tools/dom/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/src/dartium_Platform.dart
diff --git a/editor/tools/plugins/com.google.dart.tools.debug.core_test/data/scripts/test.dart b/tools/dom/src/dartium_Platform.dart
similarity index 75%
copy from editor/tools/plugins/com.google.dart.tools.debug.core_test/data/scripts/test.dart
copy to tools/dom/src/dartium_Platform.dart
index e67e24b968af7775f7d780650dfb1819df5c754f..1db313dca8b04f67137e1dd7bc5eb6ba4bfbae3e 100644
--- a/editor/tools/plugins/com.google.dart.tools.debug.core_test/data/scripts/test.dart
+++ b/tools/dom/src/dartium_Platform.dart
@@ -2,8 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-void main() {
- print("1");
- print("2");
- print("3");
+part of html;
+
+class Platform {
+ static final supportsTypedData = true;
}
« no previous file with comments | « tools/dom/src/dart2js_Platform.dart ('k') | tools/dom/templates/html/dart2js/html_dart2js.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698