OLD | NEW |
1 dart_library.library('dart/_js_helper', null, /* Imports */[ | 1 dart_library.library('dart/_js_helper', null, /* Imports */[ |
2 "dart_runtime/dart", | 2 "dart_runtime/dart", |
3 'dart/core', | 3 'dart/core', |
4 'dart/collection', | 4 'dart/collection', |
5 'dart/_interceptors', | 5 'dart/_interceptors', |
6 'dart/_foreign_helper' | 6 'dart/_foreign_helper' |
7 ], /* Lazy imports */[ | 7 ], /* Lazy imports */[ |
8 ], function(exports, dart, core, collection, _interceptors, _foreign_helper) { | 8 ], function(exports, dart, core, collection, _interceptors, _foreign_helper) { |
9 'use strict'; | 9 'use strict'; |
10 let dartx = dart.dartx; | 10 let dartx = dart.dartx; |
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1026 let value = getIndex(keyValuePairs, (() => { | 1026 let value = getIndex(keyValuePairs, (() => { |
1027 let x = index; | 1027 let x = index; |
1028 index = dart.notNull(x) + 1; | 1028 index = dart.notNull(x) + 1; |
1029 return x; | 1029 return x; |
1030 })()); | 1030 })()); |
1031 result.set(key, value); | 1031 result.set(key, value); |
1032 } | 1032 } |
1033 return result; | 1033 return result; |
1034 } | 1034 } |
1035 dart.fn(fillLiteralMap, dart.dynamic, [dart.dynamic, core.Map]); | 1035 dart.fn(fillLiteralMap, dart.dynamic, [dart.dynamic, core.Map]); |
1036 function convertDartClosureToJS(closure, arity) { | |
1037 return closure; | |
1038 } | |
1039 dart.fn(convertDartClosureToJS, dart.dynamic, [dart.dynamic, core.int]); | |
1040 function jsHasOwnProperty(jsObject, property) { | 1036 function jsHasOwnProperty(jsObject, property) { |
1041 return jsObject.hasOwnProperty(property); | 1037 return jsObject.hasOwnProperty(property); |
1042 } | 1038 } |
1043 dart.fn(jsHasOwnProperty, core.bool, [dart.dynamic, core.String]); | 1039 dart.fn(jsHasOwnProperty, core.bool, [dart.dynamic, core.String]); |
1044 function jsPropertyAccess(jsObject, property) { | 1040 function jsPropertyAccess(jsObject, property) { |
1045 return jsObject[property]; | 1041 return jsObject[property]; |
1046 } | 1042 } |
1047 dart.fn(jsPropertyAccess, dart.dynamic, [dart.dynamic, core.String]); | 1043 dart.fn(jsPropertyAccess, dart.dynamic, [dart.dynamic, core.String]); |
1048 function getFallThroughError() { | 1044 function getFallThroughError() { |
1049 return new FallThroughErrorImplementation(); | 1045 return new FallThroughErrorImplementation(); |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 exports.checkBool = checkBool; | 1176 exports.checkBool = checkBool; |
1181 exports.checkString = checkString; | 1177 exports.checkString = checkString; |
1182 exports.throwRuntimeError = throwRuntimeError; | 1178 exports.throwRuntimeError = throwRuntimeError; |
1183 exports.throwAbstractClassInstantiationError = throwAbstractClassInstantiation
Error; | 1179 exports.throwAbstractClassInstantiationError = throwAbstractClassInstantiation
Error; |
1184 exports.NullError = NullError; | 1180 exports.NullError = NullError; |
1185 exports.JsNoSuchMethodError = JsNoSuchMethodError; | 1181 exports.JsNoSuchMethodError = JsNoSuchMethodError; |
1186 exports.UnknownJsTypeError = UnknownJsTypeError; | 1182 exports.UnknownJsTypeError = UnknownJsTypeError; |
1187 exports.getTraceFromException = getTraceFromException; | 1183 exports.getTraceFromException = getTraceFromException; |
1188 exports.objectHashCode = objectHashCode; | 1184 exports.objectHashCode = objectHashCode; |
1189 exports.fillLiteralMap = fillLiteralMap; | 1185 exports.fillLiteralMap = fillLiteralMap; |
1190 exports.convertDartClosureToJS = convertDartClosureToJS; | |
1191 exports.jsHasOwnProperty = jsHasOwnProperty; | 1186 exports.jsHasOwnProperty = jsHasOwnProperty; |
1192 exports.jsPropertyAccess = jsPropertyAccess; | 1187 exports.jsPropertyAccess = jsPropertyAccess; |
1193 exports.getFallThroughError = getFallThroughError; | 1188 exports.getFallThroughError = getFallThroughError; |
1194 exports.Creates = Creates; | 1189 exports.Creates = Creates; |
1195 exports.Returns = Returns; | 1190 exports.Returns = Returns; |
1196 exports.JSName = JSName; | 1191 exports.JSName = JSName; |
1197 exports.JavaScriptIndexingBehavior = JavaScriptIndexingBehavior; | 1192 exports.JavaScriptIndexingBehavior = JavaScriptIndexingBehavior; |
1198 exports.TypeErrorImplementation = TypeErrorImplementation; | 1193 exports.TypeErrorImplementation = TypeErrorImplementation; |
1199 exports.CastErrorImplementation = CastErrorImplementation; | 1194 exports.CastErrorImplementation = CastErrorImplementation; |
1200 exports.FallThroughErrorImplementation = FallThroughErrorImplementation; | 1195 exports.FallThroughErrorImplementation = FallThroughErrorImplementation; |
1201 exports.RuntimeError = RuntimeError; | 1196 exports.RuntimeError = RuntimeError; |
1202 exports.random64 = random64; | 1197 exports.random64 = random64; |
1203 exports.jsonEncodeNative = jsonEncodeNative; | 1198 exports.jsonEncodeNative = jsonEncodeNative; |
1204 }); | 1199 }); |
OLD | NEW |