| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library canonicalization.a; | 5 // Type for remote proxies to Dart objects with dart2js. |
| 6 | 6 // WARNING: do not call this constructor or rely on it being |
| 7 import 'package:polymer/polymer.dart'; | 7 // in the global namespace, as it may be removed. |
| 8 import 'package:canonicalization/c.dart'; | 8 function DartObject(o) { |
| 9 import 'd.dart'; | 9 this.o = o; |
| 10 | |
| 11 int a = 0; | |
| 12 @initMethod initA() { | |
| 13 a++; | |
| 14 c++; | |
| 15 d++; | |
| 16 } | 10 } |
| OLD | NEW |