OLD | NEW |
1 library html; | 1 library html; |
2 | 2 |
3 import 'dart:isolate'; | 3 import 'dart:isolate'; |
4 import 'dart:json'; | 4 import 'dart:json'; |
5 import 'dart:svg' as svg; | 5 import 'dart:svg' as svg; |
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
7 // for details. All rights reserved. Use of this source code is governed by a | 7 // for details. All rights reserved. Use of this source code is governed by a |
8 // BSD-style license that can be found in the LICENSE file. | 8 // BSD-style license that can be found in the LICENSE file. |
9 | 9 |
10 // DO NOT EDIT | 10 // DO NOT EDIT |
(...skipping 13491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13502 /** @domName Node.firstChild */ | 13502 /** @domName Node.firstChild */ |
13503 Node get $dom_firstChild => JS("Node", "#.firstChild", this); | 13503 Node get $dom_firstChild => JS("Node", "#.firstChild", this); |
13504 | 13504 |
13505 /** @domName Node.lastChild */ | 13505 /** @domName Node.lastChild */ |
13506 Node get $dom_lastChild => JS("Node", "#.lastChild", this); | 13506 Node get $dom_lastChild => JS("Node", "#.lastChild", this); |
13507 | 13507 |
13508 /** @domName Node.nextSibling */ | 13508 /** @domName Node.nextSibling */ |
13509 Node get nextNode => JS("Node", "#.nextSibling", this); | 13509 Node get nextNode => JS("Node", "#.nextSibling", this); |
13510 | 13510 |
13511 /** @domName Node.nodeType */ | 13511 /** @domName Node.nodeType */ |
13512 int get $dom_nodeType => JS("int", "#.nodeType", this); | 13512 final int nodeType; |
13513 | 13513 |
13514 /** @domName Node.ownerDocument */ | 13514 /** @domName Node.ownerDocument */ |
13515 Document get document => JS("Document", "#.ownerDocument", this); | 13515 Document get document => JS("Document", "#.ownerDocument", this); |
13516 | 13516 |
13517 /** @domName Node.parentNode */ | 13517 /** @domName Node.parentNode */ |
13518 Node get parent => JS("Node", "#.parentNode", this); | 13518 Node get parent => JS("Node", "#.parentNode", this); |
13519 | 13519 |
13520 /** @domName Node.previousSibling */ | 13520 /** @domName Node.previousSibling */ |
13521 Node get previousNode => JS("Node", "#.previousSibling", this); | 13521 Node get previousNode => JS("Node", "#.previousSibling", this); |
13522 | 13522 |
(...skipping 11332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24855 if (length < 0) throw new ArgumentError('length'); | 24855 if (length < 0) throw new ArgumentError('length'); |
24856 if (start < 0) throw new RangeError.value(start); | 24856 if (start < 0) throw new RangeError.value(start); |
24857 int end = start + length; | 24857 int end = start + length; |
24858 if (end > a.length) throw new RangeError.value(end); | 24858 if (end > a.length) throw new RangeError.value(end); |
24859 for (int i = start; i < end; i++) { | 24859 for (int i = start; i < end; i++) { |
24860 accumulator.add(a[i]); | 24860 accumulator.add(a[i]); |
24861 } | 24861 } |
24862 return accumulator; | 24862 return accumulator; |
24863 } | 24863 } |
24864 } | 24864 } |
OLD | NEW |