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 const _global = dart.global; | 10 const _global = dart.global; |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 'removeAt', | 299 'removeAt', |
300 'removeLast', | 300 'removeLast', |
301 'removeRange', | 301 'removeRange', |
302 'setRange', | 302 'setRange', |
303 'sort', | 303 'sort', |
304 'length', | 304 'length', |
305 'length' | 305 'length' |
306 ]); | 306 ]); |
307 return JsArray; | 307 return JsArray; |
308 }); | 308 }); |
309 let JsArray = JsArray$(); | 309 const JsArray = JsArray$(); |
310 function _isBrowserType(o) { | 310 function _isBrowserType(o) { |
311 return o instanceof Blob || o instanceof Event || window.KeyRange && o insta
nceof KeyRange || o instanceof ImageData || o instanceof Node || window.TypedDat
a && o instanceof TypedData || o instanceof Window; | 311 return o instanceof Blob || o instanceof Event || window.KeyRange && o insta
nceof KeyRange || o instanceof ImageData || o instanceof Node || window.TypedDat
a && o instanceof TypedData || o instanceof Window; |
312 } | 312 } |
313 dart.fn(_isBrowserType, core.bool, [dart.dynamic]); | 313 dart.fn(_isBrowserType, core.bool, [dart.dynamic]); |
314 const _dartObj = Symbol('_dartObj'); | 314 const _dartObj = Symbol('_dartObj'); |
315 class _DartObject extends core.Object { | 315 class _DartObject extends core.Object { |
316 _DartObject(dartObj) { | 316 _DartObject(dartObj) { |
317 this[_dartObj] = dartObj; | 317 this[_dartObj] = dartObj; |
318 } | 318 } |
319 } | 319 } |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 }, core.Function); | 399 }, core.Function); |
400 exports._interopCaptureThisExpando.set(f, ret); | 400 exports._interopCaptureThisExpando.set(f, ret); |
401 } | 401 } |
402 return ret; | 402 return ret; |
403 } | 403 } |
404 dart.fn(allowInteropCaptureThis, core.Function, [core.Function]); | 404 dart.fn(allowInteropCaptureThis, core.Function, [core.Function]); |
405 const __CastType0$ = dart.generic(function(E) { | 405 const __CastType0$ = dart.generic(function(E) { |
406 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(dart
.dynamic, [E])); | 406 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(dart
.dynamic, [E])); |
407 return __CastType0; | 407 return __CastType0; |
408 }); | 408 }); |
409 let __CastType0 = __CastType0$(); | 409 const __CastType0 = __CastType0$(); |
410 // Exports: | 410 // Exports: |
411 exports.JsObject = JsObject; | 411 exports.JsObject = JsObject; |
412 exports.JsFunction = JsFunction; | 412 exports.JsFunction = JsFunction; |
413 exports.JsArray$ = JsArray$; | 413 exports.JsArray$ = JsArray$; |
414 exports.JsArray = JsArray; | 414 exports.JsArray = JsArray; |
415 exports.allowInterop = allowInterop; | 415 exports.allowInterop = allowInterop; |
416 exports.allowInteropCaptureThis = allowInteropCaptureThis; | 416 exports.allowInteropCaptureThis = allowInteropCaptureThis; |
417 }); | 417 }); |
OLD | NEW |