OLD | NEW |
---|---|
1 <script> | 1 <script> |
2 import 'dart-import.dart' as base; | 2 import 'dart-import.dart' as base; |
3 // Use the dart import so it doesn't ignore it. | 3 // Use the dart import so it doesn't ignore it. |
4 class TestClass extends base.BaseClass { | 4 class TestClass extends base.BaseClass { |
5 } | 5 } |
6 | 6 |
7 bool didInit = false; | 7 bool didInit = false; |
8 | 8 |
9 void init() { | 9 void _init(_) { |
10 didInit = (new TestClass() != null); | 10 didInit = (new TestClass() != null); |
11 } | 11 } |
12 </script> | 12 </script> |
OLD | NEW |