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 // Console is sometimes a singleton bag-of-properties without a prototype. |
7 // bag-of-properties without a prototype, so it can't inherit from | 7 implements Console |
8 // DOMTypeJs. | |
9 implements Console, DOMType | |
10 native "=(typeof console == 'undefined' ? {} : console)" { | 8 native "=(typeof console == 'undefined' ? {} : console)" { |
11 $!MEMBERS | 9 $!MEMBERS |
12 | |
13 // Keep these in sync with frog_DOMTypeJs.dart. | |
14 String get typeName() native; | |
15 } | 10 } |
OLD | NEW |