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 6040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6051 } | 6051 } |
6052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6053 // for details. All rights reserved. Use of this source code is governed by a | 6053 // for details. All rights reserved. Use of this source code is governed by a |
6054 // BSD-style license that can be found in the LICENSE file. | 6054 // BSD-style license that can be found in the LICENSE file. |
6055 | 6055 |
6056 | 6056 |
6057 /// @domName HTMLDivElement | 6057 /// @domName HTMLDivElement |
6058 class DivElement extends Element implements Element native "*HTMLDivElement" { | 6058 class DivElement extends Element implements Element native "*HTMLDivElement" { |
6059 | 6059 |
6060 factory DivElement() => _Elements.createDivElement(); | 6060 factory DivElement() => _Elements.createDivElement(); |
6061 | |
6062 /** @domName HTMLDivElement.align */ | |
6063 String align; | |
6064 } | 6061 } |
6065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6062 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6066 // for details. All rights reserved. Use of this source code is governed by a | 6063 // for details. All rights reserved. Use of this source code is governed by a |
6067 // BSD-style license that can be found in the LICENSE file. | 6064 // BSD-style license that can be found in the LICENSE file. |
6068 | 6065 |
6069 | 6066 |
6070 class Document extends Node | 6067 class Document extends Node |
6071 native "*HTMLDocument" | 6068 native "*HTMLDocument" |
6072 { | 6069 { |
6073 | 6070 |
(...skipping 18783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
24857 if (length < 0) throw new ArgumentError('length'); | 24854 if (length < 0) throw new ArgumentError('length'); |
24858 if (start < 0) throw new RangeError.value(start); | 24855 if (start < 0) throw new RangeError.value(start); |
24859 int end = start + length; | 24856 int end = start + length; |
24860 if (end > a.length) throw new RangeError.value(end); | 24857 if (end > a.length) throw new RangeError.value(end); |
24861 for (int i = start; i < end; i++) { | 24858 for (int i = start; i < end; i++) { |
24862 accumulator.add(a[i]); | 24859 accumulator.add(a[i]); |
24863 } | 24860 } |
24864 return accumulator; | 24861 return accumulator; |
24865 } | 24862 } |
24866 } | 24863 } |
OLD | NEW |