| OLD | NEW |
| 1 dart_library.library('dart/js', null, /* Imports */[ | 1 dart_library.library('dart/js', null, /* Imports */[ |
| 2 "dart/_runtime", | 2 "dart/_runtime", |
| 3 'dart/core', | 3 'dart/core', |
| 4 'dart/collection', | 4 'dart/collection', |
| 5 'dart/_js_helper' | 5 'dart/_js_helper' |
| 6 ], /* Lazy imports */[ | 6 ], /* Lazy imports */[ |
| 7 ], function(exports, dart, core, collection, _js_helper) { | 7 ], function(exports, dart, core, collection, _js_helper) { |
| 8 'use strict'; | 8 'use strict'; |
| 9 let dartx = dart.dartx; | 9 let dartx = dart.dartx; |
| 10 dart.defineLazyProperties(exports, { | 10 dart.defineLazyProperties(exports, { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 let _checkIndex = Symbol('_checkIndex'); | 169 let _checkIndex = Symbol('_checkIndex'); |
| 170 let _checkInsertIndex = Symbol('_checkInsertIndex'); | 170 let _checkInsertIndex = Symbol('_checkInsertIndex'); |
| 171 let JsArray$ = dart.generic(function(E) { | 171 let JsArray$ = dart.generic(function(E) { |
| 172 class JsArray extends dart.mixin(JsObject, collection.ListMixin$(E)) { | 172 class JsArray extends dart.mixin(JsObject, collection.ListMixin$(E)) { |
| 173 JsArray() { | 173 JsArray() { |
| 174 super._fromJs([]); | 174 super._fromJs([]); |
| 175 } | 175 } |
| 176 from(other) { | 176 from(other) { |
| 177 super._fromJs((() => { | 177 super._fromJs((() => { |
| 178 let _ = []; | 178 let _ = []; |
| 179 _[dartx.addAll](other[dartx.map](dart.as(_convertToJS, __CastType0))); | 179 _[dartx.addAll](other[dartx.map](dart.as(_convertToJS, __CastType0$(E)
))); |
| 180 return _; | 180 return _; |
| 181 })()); | 181 })()); |
| 182 } | 182 } |
| 183 _fromJs(jsObject) { | 183 _fromJs(jsObject) { |
| 184 super._fromJs(jsObject); | 184 super._fromJs(jsObject); |
| 185 } | 185 } |
| 186 [_checkIndex](index) { | 186 [_checkIndex](index) { |
| 187 if (typeof index == 'number' && (dart.notNull(index) < 0 || dart.notNull
(index) >= dart.notNull(this.length))) { | 187 if (typeof index == 'number' && (dart.notNull(index) < 0 || dart.notNull
(index) >= dart.notNull(this.length))) { |
| 188 dart.throw(new core.RangeError.range(index, 0, this.length)); | 188 dart.throw(new core.RangeError.range(index, 0, this.length)); |
| 189 } | 189 } |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 }); | 421 }); |
| 422 let __CastType0 = __CastType0$(); | 422 let __CastType0 = __CastType0$(); |
| 423 // Exports: | 423 // Exports: |
| 424 exports.JsObject = JsObject; | 424 exports.JsObject = JsObject; |
| 425 exports.JsFunction = JsFunction; | 425 exports.JsFunction = JsFunction; |
| 426 exports.JsArray$ = JsArray$; | 426 exports.JsArray$ = JsArray$; |
| 427 exports.JsArray = JsArray; | 427 exports.JsArray = JsArray; |
| 428 exports.allowInterop = allowInterop; | 428 exports.allowInterop = allowInterop; |
| 429 exports.allowInteropCaptureThis = allowInteropCaptureThis; | 429 exports.allowInteropCaptureThis = allowInteropCaptureThis; |
| 430 }); | 430 }); |
| OLD | NEW |