| OLD | NEW |
| 1 #library('dart:dom_deprecated'); | 1 #library('dart:dom_deprecated'); |
| 2 | 2 |
| 3 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2011, 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 DOM library. | 8 // Auto-generated Dart DOM library. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 4203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4214 final String direction; | 4214 final String direction; |
| 4215 | 4215 |
| 4216 final key; | 4216 final key; |
| 4217 | 4217 |
| 4218 final primaryKey; | 4218 final primaryKey; |
| 4219 | 4219 |
| 4220 final source; | 4220 final source; |
| 4221 | 4221 |
| 4222 void advance(int count) native; | 4222 void advance(int count) native; |
| 4223 | 4223 |
| 4224 void continueFunction([key]) native ''' | 4224 void continueFunction([key]) native 'continue'; |
| 4225 if (key == null) return this['continue'](); | |
| 4226 return this['continue'](key); | |
| 4227 '''; | |
| 4228 | 4225 |
| 4229 _IDBRequestJs delete() native; | 4226 _IDBRequestJs delete() native; |
| 4230 | 4227 |
| 4231 _IDBRequestJs update(value) native; | 4228 _IDBRequestJs update(value) native; |
| 4232 } | 4229 } |
| 4233 | 4230 |
| 4234 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n
ative "*IDBCursorWithValue" { | 4231 class _IDBCursorWithValueJs extends _IDBCursorJs implements IDBCursorWithValue n
ative "*IDBCursorWithValue" { |
| 4235 | 4232 |
| 4236 final value; | 4233 final value; |
| 4237 } | 4234 } |
| (...skipping 21241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 25479 if (length < 0) throw new IllegalArgumentException('length'); | 25476 if (length < 0) throw new IllegalArgumentException('length'); |
| 25480 if (start < 0) throw new IndexOutOfRangeException(start); | 25477 if (start < 0) throw new IndexOutOfRangeException(start); |
| 25481 int end = start + length; | 25478 int end = start + length; |
| 25482 if (end > a.length) throw new IndexOutOfRangeException(end); | 25479 if (end > a.length) throw new IndexOutOfRangeException(end); |
| 25483 for (int i = start; i < end; i++) { | 25480 for (int i = start; i < end; i++) { |
| 25484 accumulator.add(a[i]); | 25481 accumulator.add(a[i]); |
| 25485 } | 25482 } |
| 25486 return accumulator; | 25483 return accumulator; |
| 25487 } | 25484 } |
| 25488 } | 25485 } |
| OLD | NEW |