OLD | NEW |
(Empty) | |
| 1 var functions = dart.defineLibrary(functions, {}); |
| 2 var core = dart.import(core); |
| 3 (function(exports, core) { |
| 4 'use strict'; |
| 5 function bootstrap() { |
| 6 return dart.setType([new Foo()], core.List$(Foo)); |
| 7 } |
| 8 dart.fn(bootstrap, () => dart.functionType(core.List$(Foo), [])); |
| 9 class Foo extends core.Object {} |
| 10 dart.setSignature(Foo, {}); |
| 11 function main() { |
| 12 core.print(bootstrap()[core.$get](0)); |
| 13 } |
| 14 dart.fn(main, dart.void, []); |
| 15 // Exports: |
| 16 exports.bootstrap = bootstrap; |
| 17 exports.Foo = Foo; |
| 18 exports.main = main; |
| 19 })(functions, core); |
OLD | NEW |