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

Unified Diff: sdk/lib/_internal/lib/native_helper.dart

Issue 17301008: Remove =List in JS, use JSExtendableArray instead. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: sdk/lib/_internal/lib/native_helper.dart
===================================================================
--- sdk/lib/_internal/lib/native_helper.dart (revision 24212)
+++ sdk/lib/_internal/lib/native_helper.dart (working copy)
@@ -255,7 +255,7 @@
if (interceptorsByTag == null) interceptorsByTag = JS('=Object', '{}');
if (leafTags == null) leafTags = JS('=Object', '{}');
- var tagsList = JS('=List', '#.split("|")', tags);
+ var tagsList = JS('JSExtendableArray', '#.split("|")', tags);
for (int i = 0; i < tagsList.length; i++) {
var tag = tagsList[i];
JS('void', '#[#] = #', interceptorsByTag, tag, methods);

Powered by Google App Engine
This is Rietveld 408576698