OLD | NEW |
1 define(['dart_sdk'], function(dart_sdk) { | 1 define(['dart_sdk'], function(dart_sdk) { |
2 'use strict'; | 2 'use strict'; |
3 const core = dart_sdk.core; | 3 const core = dart_sdk.core; |
4 const dart = dart_sdk.dart; | 4 const dart = dart_sdk.dart; |
5 const dartx = dart_sdk.dartx; | 5 const dartx = dart_sdk.dartx; |
6 const destructuring = Object.create(null); | 6 const destructuring = Object.create(null); |
7 const src__varargs = Object.create(null); | 7 const src__varargs = Object.create(null); |
8 let intAnddynamic__Todynamic = () => (intAnddynamic__Todynamic = dart.constFn(
dart.definiteFunctionType(dart.dynamic, [core.int, dart.dynamic], [dart.dynamic]
)))(); | 8 let intAnddynamic__Todynamic = () => (intAnddynamic__Todynamic = dart.constFn(
dart.fnType(dart.dynamic, [core.int, dart.dynamic], [dart.dynamic])))(); |
9 let intAnddynamic__Todynamic$ = () => (intAnddynamic__Todynamic$ = dart.constF
n(dart.definiteFunctionType(dart.dynamic, [core.int, dart.dynamic], {c: dart.dyn
amic})))(); | 9 let intAnddynamic__Todynamic$ = () => (intAnddynamic__Todynamic$ = dart.constF
n(dart.fnType(dart.dynamic, [core.int, dart.dynamic], {c: dart.dynamic})))(); |
10 let intAnddynamicTodynamic = () => (intAnddynamicTodynamic = dart.constFn(dart
.definiteFunctionType(dart.dynamic, [core.int, dart.dynamic])))(); | 10 let intAnddynamicTodynamic = () => (intAnddynamicTodynamic = dart.constFn(dart
.fnType(dart.dynamic, [core.int, dart.dynamic])))(); |
11 let intAnddynamicAnddynamicTodynamic = () => (intAnddynamicAnddynamicTodynamic
= dart.constFn(dart.definiteFunctionType(dart.dynamic, [core.int, dart.dynamic,
dart.dynamic])))(); | 11 let intAnddynamicAnddynamicTodynamic = () => (intAnddynamicAnddynamicTodynamic
= dart.constFn(dart.fnType(dart.dynamic, [core.int, dart.dynamic, dart.dynamic]
)))(); |
12 let __Todynamic = () => (__Todynamic = dart.constFn(dart.definiteFunctionType(
dart.dynamic, [], [core.int, dart.dynamic, dart.dynamic])))(); | 12 let __Todynamic = () => (__Todynamic = dart.constFn(dart.fnType(dart.dynamic,
[], [core.int, dart.dynamic, dart.dynamic])))(); |
13 let __Todynamic$ = () => (__Todynamic$ = dart.constFn(dart.definiteFunctionTyp
e(dart.dynamic, [], {let: core.int, function: dart.dynamic, arguments: dart.dyna
mic})))(); | 13 let __Todynamic$ = () => (__Todynamic$ = dart.constFn(dart.fnType(dart.dynamic
, [], {let: core.int, function: dart.dynamic, arguments: dart.dynamic})))(); |
14 let __Todynamic$0 = () => (__Todynamic$0 = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [], {constructor: core.int, valueOf: dart.dynamic, hasOwnPrope
rty: dart.dynamic})))(); | 14 let __Todynamic$0 = () => (__Todynamic$0 = dart.constFn(dart.fnType(dart.dynam
ic, [], {constructor: core.int, valueOf: dart.dynamic, hasOwnProperty: dart.dyna
mic})))(); |
15 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.definiteFun
ctionType(dart.dynamic, [dart.dynamic])))(); | 15 let dynamicTodynamic = () => (dynamicTodynamic = dart.constFn(dart.fnType(dart
.dynamic, [dart.dynamic])))(); |
16 destructuring.f = function(a, b, c = 1) { | 16 destructuring.f = function(a, b, c = 1) { |
17 destructuring.f(a, b, c); | 17 destructuring.f(a, b, c); |
18 }; | 18 }; |
19 dart.fn(destructuring.f, intAnddynamic__Todynamic()); | 19 dart.fn(destructuring.f, intAnddynamic__Todynamic()); |
20 destructuring.f_sync = function(a, b, c) { | 20 destructuring.f_sync = function(a, b, c) { |
21 return dart.syncStar(function*(a, b, c = 1) { | 21 return dart.syncStar(function*(a, b, c = 1) { |
22 }, dart.dynamic, a, b, c); | 22 }, dart.dynamic, a, b, c); |
23 }; | 23 }; |
24 dart.fn(destructuring.f_sync, intAnddynamic__Todynamic()); | 24 dart.fn(destructuring.f_sync, intAnddynamic__Todynamic()); |
25 destructuring.f_async = function(a, b, c) { | 25 destructuring.f_async = function(a, b, c) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 dart.trackLibraries("destructuring", { | 87 dart.trackLibraries("destructuring", { |
88 "destructuring.dart": destructuring, | 88 "destructuring.dart": destructuring, |
89 "package:js/src/varargs.dart": src__varargs | 89 "package:js/src/varargs.dart": src__varargs |
90 }, null); | 90 }, null); |
91 // Exports: | 91 // Exports: |
92 return { | 92 return { |
93 destructuring: destructuring, | 93 destructuring: destructuring, |
94 src__varargs: src__varargs | 94 src__varargs: src__varargs |
95 }; | 95 }; |
96 }); | 96 }); |
OLD | NEW |