| OLD | NEW |
| 1 var methods = dart.defineLibrary(methods, {}); | 1 dart.defineLibrary('methods'); |
| 2 var core = dart.import(core); | 2 dart.import('core'); |
| 3 (function(exports, core) { | 3 (function(exports, core) { |
| 4 'use strict'; | 4 'use strict'; |
| 5 let _c = Symbol('_c'); | 5 let _c = Symbol('_c'); |
| 6 class A extends core.Object { | 6 class A extends core.Object { |
| 7 A() { | 7 A() { |
| 8 this[_c] = 3; | 8 this[_c] = 3; |
| 9 } | 9 } |
| 10 x() { | 10 x() { |
| 11 return 42; | 11 return 42; |
| 12 } | 12 } |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 let aa = new A(); | 73 let aa = new A(); |
| 74 let h = dart.dload(aa, 'x'); | 74 let h = dart.dload(aa, 'x'); |
| 75 } | 75 } |
| 76 dart.fn(test); | 76 dart.fn(test); |
| 77 // Exports: | 77 // Exports: |
| 78 exports.A = A; | 78 exports.A = A; |
| 79 exports.Bar = Bar; | 79 exports.Bar = Bar; |
| 80 exports.Foo = Foo; | 80 exports.Foo = Foo; |
| 81 exports.test = test; | 81 exports.test = test; |
| 82 })(methods, core); | 82 })(methods, core); |
| OLD | NEW |