| 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 4831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4842 | 4842 |
| 4843 EventListenerList get touchEnd() => _get('touchend'); | 4843 EventListenerList get touchEnd() => _get('touchend'); |
| 4844 | 4844 |
| 4845 EventListenerList get touchMove() => _get('touchmove'); | 4845 EventListenerList get touchMove() => _get('touchmove'); |
| 4846 | 4846 |
| 4847 EventListenerList get touchStart() => _get('touchstart'); | 4847 EventListenerList get touchStart() => _get('touchstart'); |
| 4848 } | 4848 } |
| 4849 | 4849 |
| 4850 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment native
"*DocumentFragment" { | 4850 class _DocumentFragmentImpl extends _NodeImpl implements DocumentFragment native
"*DocumentFragment" { |
| 4851 | 4851 |
| 4852 ElementEvents get on() => | 4852 _ElementEventsImpl get on() => |
| 4853 new ElementEvents(this); | 4853 new _ElementEventsImpl(this); |
| 4854 | 4854 |
| 4855 _ElementImpl query(String selectors) native "return this.querySelector(selecto
rs);"; | 4855 _ElementImpl query(String selectors) native "return this.querySelector(selecto
rs);"; |
| 4856 | 4856 |
| 4857 _NodeListImpl _querySelectorAll(String selectors) native "return this.querySel
ectorAll(selectors);"; | 4857 _NodeListImpl _querySelectorAll(String selectors) native "return this.querySel
ectorAll(selectors);"; |
| 4858 } | 4858 } |
| 4859 | 4859 |
| 4860 class _DocumentTypeImpl extends _NodeImpl implements DocumentType native "*Docum
entType" { | 4860 class _DocumentTypeImpl extends _NodeImpl implements DocumentType native "*Docum
entType" { |
| 4861 | 4861 |
| 4862 final _NamedNodeMapImpl entities; | 4862 final _NamedNodeMapImpl entities; |
| 4863 | 4863 |
| (...skipping 26108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 30972 if (length < 0) throw new IllegalArgumentException('length'); | 30972 if (length < 0) throw new IllegalArgumentException('length'); |
| 30973 if (start < 0) throw new IndexOutOfRangeException(start); | 30973 if (start < 0) throw new IndexOutOfRangeException(start); |
| 30974 int end = start + length; | 30974 int end = start + length; |
| 30975 if (end > a.length) throw new IndexOutOfRangeException(end); | 30975 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 30976 for (int i = start; i < end; i++) { | 30976 for (int i = start; i < end; i++) { |
| 30977 accumulator.add(a[i]); | 30977 accumulator.add(a[i]); |
| 30978 } | 30978 } |
| 30979 return accumulator; | 30979 return accumulator; |
| 30980 } | 30980 } |
| 30981 } | 30981 } |
| OLD | NEW |