OLD | NEW |
1 | 1 |
2 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { | 2 class _IDBCursorJs extends _DOMTypeJs implements IDBCursor native "*IDBCursor" { |
3 | 3 |
4 static final int NEXT = 0; | 4 static final int NEXT = 0; |
5 | 5 |
6 static final int NEXT_NO_DUPLICATE = 1; | 6 static final int NEXT_NO_DUPLICATE = 1; |
7 | 7 |
8 static final int PREV = 2; | 8 static final int PREV = 2; |
9 | 9 |
10 static final int PREV_NO_DUPLICATE = 3; | 10 static final int PREV_NO_DUPLICATE = 3; |
11 | 11 |
12 final int direction; | 12 final int direction; |
13 | 13 |
14 final _IDBKeyJs key; | 14 final _IDBKeyJs key; |
15 | 15 |
16 final _IDBKeyJs primaryKey; | 16 final _IDBKeyJs primaryKey; |
17 | 17 |
18 final _IDBAnyJs source; | 18 final _IDBAnyJs source; |
19 | 19 |
20 void continueFunction([_IDBKeyJs key = null]) native; | 20 void continueFunction([_IDBKeyJs key = null]) native ''' |
| 21 if (key == null) return this['continue'](); |
| 22 return this['continue'](key); |
| 23 '''; |
21 | 24 |
22 _IDBRequestJs delete() native; | 25 _IDBRequestJs delete() native; |
23 | 26 |
24 _IDBRequestJs update(Dynamic value) native; | 27 _IDBRequestJs update(Dynamic value) native; |
25 } | 28 } |
OLD | NEW |