OLD | NEW |
1 var cascade = dart.defineLibrary(cascade, {}); | 1 dart.library('cascade', null, /* Imports */[ |
2 var core = dart.import(core); | 2 'dart/core' |
3 (function(exports, core) { | 3 ], /* Lazy imports */[ |
| 4 ], function(exports, core) { |
4 'use strict'; | 5 'use strict'; |
5 class A extends core.Object { | 6 class A extends core.Object { |
6 A() { | 7 A() { |
7 this.x = null; | 8 this.x = null; |
8 } | 9 } |
9 } | 10 } |
10 function test_closure_with_mutate() { | 11 function test_closure_with_mutate() { |
11 let a = new A(); | 12 let a = new A(); |
12 a.x = dart.fn(() => { | 13 a.x = dart.fn(() => { |
13 core.print("hi"); | 14 core.print("hi"); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 exports.test_closure_without_mutate = test_closure_without_mutate; | 113 exports.test_closure_without_mutate = test_closure_without_mutate; |
113 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; | 114 exports.test_mutate_inside_cascade = test_mutate_inside_cascade; |
114 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; | 115 exports.test_mutate_outside_cascade = test_mutate_outside_cascade; |
115 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; | 116 exports.test_VariableDeclaration_single = test_VariableDeclaration_single; |
116 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; | 117 exports.test_VariableDeclaration_last = test_VariableDeclaration_last; |
117 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; | 118 exports.test_VariableDeclaration_first = test_VariableDeclaration_first; |
118 exports.test_increment = test_increment; | 119 exports.test_increment = test_increment; |
119 exports.Base$ = Base$; | 120 exports.Base$ = Base$; |
120 exports.Base = Base; | 121 exports.Base = Base; |
121 exports.Foo = Foo; | 122 exports.Foo = Foo; |
122 })(cascade, core); | 123 }); |
OLD | NEW |