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 /** | 8 /** |
9 * The base class for all documents. | 9 * The base class for all documents. |
10 * | 10 * |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 final copyOfMatches = new List<Element>(len); | 73 final copyOfMatches = new List<Element>(len); |
74 for (int i = 0; i < len; ++i) { | 74 for (int i = 0; i < len; ++i) { |
75 copyOfMatches[i] = mutableMatches[i]; | 75 copyOfMatches[i] = mutableMatches[i]; |
76 } | 76 } |
77 return new _FrozenElementList._wrap(copyOfMatches); | 77 return new _FrozenElementList._wrap(copyOfMatches); |
78 } else { | 78 } else { |
79 return new _FrozenElementList._wrap($dom_querySelectorAll(selectors)); | 79 return new _FrozenElementList._wrap($dom_querySelectorAll(selectors)); |
80 } | 80 } |
81 } | 81 } |
82 } | 82 } |
OLD | NEW |