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 part of html; | 5 part of html; |
6 | 6 |
7 /// @domName $DOMNAME | 7 /// @domName $DOMNAME |
8 class $CLASSNAME$EXTENDS implements Map<String, String> $NATIVESPEC { | 8 class $CLASSNAME$EXTENDS implements Map<String, String> $NATIVESPEC { |
9 | 9 |
10 // TODO(nweiz): update this when maps support lazy iteration | 10 // TODO(nweiz): update this when maps support lazy iteration |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 final values = []; | 48 final values = []; |
49 forEach((k, v) => values.add(v)); | 49 forEach((k, v) => values.add(v)); |
50 return values; | 50 return values; |
51 } | 51 } |
52 | 52 |
53 int get length => $dom_length; | 53 int get length => $dom_length; |
54 | 54 |
55 bool get isEmpty => $dom_key(0) == null; | 55 bool get isEmpty => $dom_key(0) == null; |
56 $!MEMBERS | 56 $!MEMBERS |
57 } | 57 } |
OLD | NEW |