OLD | NEW |
1 #library('html'); | 1 #library('html'); |
2 | 2 |
3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
4 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
5 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
6 | 6 |
7 // DO NOT EDIT | 7 // DO NOT EDIT |
8 // Auto-generated dart:html library. | 8 // Auto-generated dart:html library. |
9 | 9 |
10 | 10 |
(...skipping 5413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5424 | 5424 |
5425 _ElementEventsImpl get on() => | 5425 _ElementEventsImpl get on() => |
5426 new _ElementEventsImpl(this); | 5426 new _ElementEventsImpl(this); |
5427 | 5427 |
5428 static final int ALLOW_KEYBOARD_INPUT = 1; | 5428 static final int ALLOW_KEYBOARD_INPUT = 1; |
5429 | 5429 |
5430 int get _childElementCount() native "return this.childElementCount;"; | 5430 int get _childElementCount() native "return this.childElementCount;"; |
5431 | 5431 |
5432 _HTMLCollectionImpl get _children() native "return this.children;"; | 5432 _HTMLCollectionImpl get _children() native "return this.children;"; |
5433 | 5433 |
5434 final _DOMTokenListImpl classList; | |
5435 | |
5436 String get _className() native "return this.className;"; | 5434 String get _className() native "return this.className;"; |
5437 | 5435 |
5438 void set _className(String value) native "this.className = value;"; | 5436 void set _className(String value) native "this.className = value;"; |
5439 | 5437 |
5440 int get _clientHeight() native "return this.clientHeight;"; | 5438 int get _clientHeight() native "return this.clientHeight;"; |
5441 | 5439 |
5442 int get _clientLeft() native "return this.clientLeft;"; | 5440 int get _clientLeft() native "return this.clientLeft;"; |
5443 | 5441 |
5444 int get _clientTop() native "return this.clientTop;"; | 5442 int get _clientTop() native "return this.clientTop;"; |
5445 | 5443 |
(...skipping 14912 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20358 | 20356 |
20359 | 20357 |
20360 ElementEvents get on(); | 20358 ElementEvents get on(); |
20361 | 20359 |
20362 static final int ALLOW_KEYBOARD_INPUT = 1; | 20360 static final int ALLOW_KEYBOARD_INPUT = 1; |
20363 | 20361 |
20364 final int _childElementCount; | 20362 final int _childElementCount; |
20365 | 20363 |
20366 final HTMLCollection _children; | 20364 final HTMLCollection _children; |
20367 | 20365 |
20368 final DOMTokenList classList; | |
20369 | |
20370 String _className; | 20366 String _className; |
20371 | 20367 |
20372 final int _clientHeight; | 20368 final int _clientHeight; |
20373 | 20369 |
20374 final int _clientLeft; | 20370 final int _clientLeft; |
20375 | 20371 |
20376 final int _clientTop; | 20372 final int _clientTop; |
20377 | 20373 |
20378 final int _clientWidth; | 20374 final int _clientWidth; |
20379 | 20375 |
(...skipping 10592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
30972 if (length < 0) throw new IllegalArgumentException('length'); | 30968 if (length < 0) throw new IllegalArgumentException('length'); |
30973 if (start < 0) throw new IndexOutOfRangeException(start); | 30969 if (start < 0) throw new IndexOutOfRangeException(start); |
30974 int end = start + length; | 30970 int end = start + length; |
30975 if (end > a.length) throw new IndexOutOfRangeException(end); | 30971 if (end > a.length) throw new IndexOutOfRangeException(end); |
30976 for (int i = start; i < end; i++) { | 30972 for (int i = start; i < end; i++) { |
30977 accumulator.add(a[i]); | 30973 accumulator.add(a[i]); |
30978 } | 30974 } |
30979 return accumulator; | 30975 return accumulator; |
30980 } | 30976 } |
30981 } | 30977 } |
OLD | NEW |