| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 class $CLASSNAME | 5 class $CLASSNAME |
| 6 // Implement DOMType directly. Console is sometimes a singleton | 6 // Implement DOMType directly. Console is sometimes a singleton |
| 7 // bag-of-properties without a prototype, so it can't inherit from | 7 // bag-of-properties without a prototype, so it can't inherit from |
| 8 // DOMTypeJs. | 8 // DOMTypeJs. |
| 9 implements Console, DOMType | 9 implements Console, DOMType |
| 10 native "=(typeof console == 'undefined' ? {} : console)" { | 10 native "=(typeof console == 'undefined' ? {} : console)" { |
| 11 $!MEMBERS | 11 $!MEMBERS |
| 12 | 12 |
| 13 // Keep these in sync with frog_DOMTypeJs.dart. | 13 // Keep these in sync with dart2js_DOMTypeJs.dart. |
| 14 var dartObjectLocalStorage; | 14 var dartObjectLocalStorage; |
| 15 String get typeName() native; | 15 String get typeName() native; |
| 16 } | 16 } |
| OLD | NEW |