| 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 28990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 29001 // WARNING: Do not edit - generated code. | 29001 // WARNING: Do not edit - generated code. |
| 29002 | 29002 |
| 29003 interface TimeRanges { | 29003 interface TimeRanges { |
| 29004 | 29004 |
| 29005 final int length; | 29005 final int length; |
| 29006 | 29006 |
| 29007 num end(int index); | 29007 num end(int index); |
| 29008 | 29008 |
| 29009 num start(int index); | 29009 num start(int index); |
| 29010 } | 29010 } |
| 29011 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 29012 // for details. All rights reserved. Use of this source code is governed by a |
| 29013 // BSD-style license that can be found in the LICENSE file. |
| 29014 |
| 29015 // WARNING: Do not edit - generated code. |
| 29016 |
| 29017 typedef void TimeoutHandler(); |
| 29011 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29012 // for details. All rights reserved. Use of this source code is governed by a | 29019 // for details. All rights reserved. Use of this source code is governed by a |
| 29013 // BSD-style license that can be found in the LICENSE file. | 29020 // BSD-style license that can be found in the LICENSE file. |
| 29014 | 29021 |
| 29015 // WARNING: Do not edit - generated code. | 29022 // WARNING: Do not edit - generated code. |
| 29016 | 29023 |
| 29017 interface TitleElement extends Element { | 29024 interface TitleElement extends Element { |
| 29018 } | 29025 } |
| 29019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 29026 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 29020 // for details. All rights reserved. Use of this source code is governed by a | 29027 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 2888 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 31909 | 31916 |
| 31910 /** | 31917 /** |
| 31911 * Indicates the document and all subresources have been loaded. | 31918 * Indicates the document and all subresources have been loaded. |
| 31912 */ | 31919 */ |
| 31913 static final String COMPLETE = "complete"; | 31920 static final String COMPLETE = "complete"; |
| 31914 } | 31921 } |
| 31915 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 31922 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 31916 // for details. All rights reserved. Use of this source code is governed by a | 31923 // for details. All rights reserved. Use of this source code is governed by a |
| 31917 // BSD-style license that can be found in the LICENSE file. | 31924 // BSD-style license that can be found in the LICENSE file. |
| 31918 | 31925 |
| 31919 typedef void TimeoutHandler(); | |
| 31920 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 31921 // for details. All rights reserved. Use of this source code is governed by a | |
| 31922 // BSD-style license that can be found in the LICENSE file. | |
| 31923 | |
| 31924 /** | 31926 /** |
| 31925 * The [Collections] class implements static methods useful when | 31927 * The [Collections] class implements static methods useful when |
| 31926 * writing a class that implements [Collection] and the [iterator] | 31928 * writing a class that implements [Collection] and the [iterator] |
| 31927 * method. | 31929 * method. |
| 31928 */ | 31930 */ |
| 31929 class _Collections { | 31931 class _Collections { |
| 31930 static void forEach(Iterable<Object> iterable, void f(Object o)) { | 31932 static void forEach(Iterable<Object> iterable, void f(Object o)) { |
| 31931 for (final e in iterable) { | 31933 for (final e in iterable) { |
| 31932 f(e); | 31934 f(e); |
| 31933 } | 31935 } |
| (...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 32495 if (length < 0) throw new IllegalArgumentException('length'); | 32497 if (length < 0) throw new IllegalArgumentException('length'); |
| 32496 if (start < 0) throw new IndexOutOfRangeException(start); | 32498 if (start < 0) throw new IndexOutOfRangeException(start); |
| 32497 int end = start + length; | 32499 int end = start + length; |
| 32498 if (end > a.length) throw new IndexOutOfRangeException(end); | 32500 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 32499 for (int i = start; i < end; i++) { | 32501 for (int i = start; i < end; i++) { |
| 32500 accumulator.add(a[i]); | 32502 accumulator.add(a[i]); |
| 32501 } | 32503 } |
| 32502 return accumulator; | 32504 return accumulator; |
| 32503 } | 32505 } |
| 32504 } | 32506 } |
| OLD | NEW |