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

Unified Diff: lib/compiler/implementation/lib/js_helper.dart

Issue 10447088: Add a new magic element type for annotating types that have Javascript array behavior. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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
Index: lib/compiler/implementation/lib/js_helper.dart
===================================================================
--- lib/compiler/implementation/lib/js_helper.dart (revision 8103)
+++ lib/compiler/implementation/lib/js_helper.dart (working copy)
@@ -1072,3 +1072,11 @@
if (JS('bool', '#[#]()', value, property)) return value;
propertyTypeError(value, property);
}
+
+/**
+ * Special interface recognized by the compiler and implemented by DOM
+ * objects that support integer indexing. This interface is not
+ * visible to anyone, and is only injected into special lirbaries.
ahe 2012/06/12 18:30:04 lirbaries -> libraries
ngeoffray 2012/06/13 13:02:42 Done.
+ */
+interface JavaScriptIndexingBehavior {
+}

Powered by Google App Engine
This is Rietveld 408576698