OLD | NEW |
1 var _js_helper; | 1 var _js_helper; |
2 (function(exports) { | 2 (function(exports) { |
3 'use strict'; | 3 'use strict'; |
4 class NoSideEffects extends core.Object { | 4 class NoSideEffects extends core.Object { |
5 NoSideEffects() { | 5 NoSideEffects() { |
6 } | 6 } |
7 } | 7 } |
8 class NoThrows extends core.Object { | 8 class NoThrows extends core.Object { |
9 NoThrows() { | 9 NoThrows() { |
10 } | 10 } |
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 // Function requiresPreamble: () → dynamic | 1336 // Function requiresPreamble: () → dynamic |
1337 function requiresPreamble() { | 1337 function requiresPreamble() { |
1338 } | 1338 } |
1339 // Function isJsIndexable: (dynamic, dynamic) → bool | 1339 // Function isJsIndexable: (dynamic, dynamic) → bool |
1340 function isJsIndexable(object, record) { | 1340 function isJsIndexable(object, record) { |
1341 if (record !== null) { | 1341 if (record !== null) { |
1342 let result = _interceptors.dispatchRecordIndexability(record); | 1342 let result = _interceptors.dispatchRecordIndexability(record); |
1343 if (result !== null) | 1343 if (result !== null) |
1344 return dart.as(result, core.bool); | 1344 return dart.as(result, core.bool); |
1345 } | 1345 } |
1346 return dart.is(object, JavaScriptIndexingBehavior); | 1346 return dart.is(object, exports.JavaScriptIndexingBehavior); |
1347 } | 1347 } |
1348 // Function S: (dynamic) → String | 1348 // Function S: (dynamic) → String |
1349 function S(value) { | 1349 function S(value) { |
1350 if (typeof value == string) | 1350 if (typeof value == string) |
1351 return dart.as(value, core.String); | 1351 return dart.as(value, core.String); |
1352 if (dart.is(value, core.num)) { | 1352 if (dart.is(value, core.num)) { |
1353 if (!dart.equals(value, 0)) { | 1353 if (!dart.equals(value, 0)) { |
1354 return "" + value; | 1354 return "" + value; |
1355 } | 1355 } |
1356 } else if (true === value) { | 1356 } else if (true === value) { |
(...skipping 1769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3126 if (value === null) | 3126 if (value === null) |
3127 return value; | 3127 return value; |
3128 throw new TypeErrorImplementation.fromMessage(dart.as(message, core.String))
; | 3128 throw new TypeErrorImplementation.fromMessage(dart.as(message, core.String))
; |
3129 } | 3129 } |
3130 // Function checkDeferredIsLoaded: (String, String) → void | 3130 // Function checkDeferredIsLoaded: (String, String) → void |
3131 function checkDeferredIsLoaded(loadId, uri) { | 3131 function checkDeferredIsLoaded(loadId, uri) { |
3132 if (!dart.notNull(exports._loadedLibraries.contains(loadId))) { | 3132 if (!dart.notNull(exports._loadedLibraries.contains(loadId))) { |
3133 throw new DeferredNotLoadedError(uri); | 3133 throw new DeferredNotLoadedError(uri); |
3134 } | 3134 } |
3135 } | 3135 } |
3136 class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable { | 3136 dart.defineLazyClass(exports, { |
3137 } | 3137 get JavaScriptIndexingBehavior() { |
| 3138 class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable
{ |
| 3139 } |
| 3140 return JavaScriptIndexingBehavior; |
| 3141 } |
| 3142 }); |
3138 class TypeErrorImplementation extends core.Error { | 3143 class TypeErrorImplementation extends core.Error { |
3139 TypeErrorImplementation(value, type) { | 3144 TypeErrorImplementation(value, type) { |
3140 this.message = `type '${Primitives.objectTypeName(value)}' is not a subtyp
e ` + `of type '${type}'`; | 3145 this.message = `type '${Primitives.objectTypeName(value)}' is not a subtyp
e ` + `of type '${type}'`; |
3141 super.Error(); | 3146 super.Error(); |
3142 } | 3147 } |
3143 TypeErrorImplementation$fromMessage(message) { | 3148 TypeErrorImplementation$fromMessage(message) { |
3144 this.message = message; | 3149 this.message = message; |
3145 super.Error(); | 3150 super.Error(); |
3146 } | 3151 } |
3147 toString() { | 3152 toString() { |
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3948 exports.UnimplementedNoSuchMethodError = UnimplementedNoSuchMethodError; | 3953 exports.UnimplementedNoSuchMethodError = UnimplementedNoSuchMethodError; |
3949 exports.random64 = random64; | 3954 exports.random64 = random64; |
3950 exports.jsonEncodeNative = jsonEncodeNative; | 3955 exports.jsonEncodeNative = jsonEncodeNative; |
3951 exports.getIsolateAffinityTag = getIsolateAffinityTag; | 3956 exports.getIsolateAffinityTag = getIsolateAffinityTag; |
3952 exports.loadDeferredLibrary = loadDeferredLibrary; | 3957 exports.loadDeferredLibrary = loadDeferredLibrary; |
3953 exports.MainError = MainError; | 3958 exports.MainError = MainError; |
3954 exports.missingMain = missingMain; | 3959 exports.missingMain = missingMain; |
3955 exports.badMain = badMain; | 3960 exports.badMain = badMain; |
3956 exports.mainHasTooManyParameters = mainHasTooManyParameters; | 3961 exports.mainHasTooManyParameters = mainHasTooManyParameters; |
3957 })(_js_helper || (_js_helper = {})); | 3962 })(_js_helper || (_js_helper = {})); |
OLD | NEW |