Skip to content

Commit 01d7343

Browse files
sigiesecinexorabletash
authored andcommitted
Improve readability of 'key or key range' (#287)
1 parent 16fc655 commit 01d7343

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

index.bs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3072,8 +3072,8 @@ invoked, must run these steps:
30723072

30733073
</div>
30743074

3075-
The |query| parameter may be a [=/key=] or an
3076-
{{IDBKeyRange}} identifying the [=object-store/records=] keys to be
3075+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3076+
identifying the [=object-store/records=] keys to be
30773077
deleted.
30783078

30793079
<aside class=note>
@@ -3193,8 +3193,8 @@ invoked, must run these steps:
31933193

31943194
</div>
31953195

3196-
The |query| parameter may be a [=/key=] or an
3197-
{{IDBKeyRange}} identifying the [=object-store/record=] to be retrieved. If a
3196+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3197+
identifying the [=object-store/record=] to be retrieved. If a
31983198
range is specified, the method retrieves the first existing value in
31993199
that range.
32003200

@@ -3238,8 +3238,8 @@ invoked, must run these steps:
32383238

32393239
</div>
32403240

3241-
The |query| parameter may be a [=/key=] or an
3242-
{{IDBKeyRange}} identifying the [=object-store/record=] key to be
3241+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3242+
identifying the [=object-store/record=] key to be
32433243
retrieved. If a range is specified, the method retrieves
32443244
the first existing key in that range.
32453245

@@ -3274,7 +3274,7 @@ method, when invoked, must run these steps:
32743274

32753275
</div>
32763276

3277-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
3277+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
32783278
identifying the [=object-store/records=] to be retrieved. If null or not given,
32793279
an [=unbounded key range=] is used. If |count| is specified and
32803280
there are more than |count| records in range, only the first |count|
@@ -3310,7 +3310,7 @@ method, when invoked, must run these steps:
33103310

33113311
</div>
33123312

3313-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
3313+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
33143314
identifying the [=object-store/records=] keys to be retrieved. If null or not
33153315
given, an [=unbounded key range=] is used. If |count| is specified
33163316
and there are more than |count| keys in range, only the first |count|
@@ -3346,7 +3346,7 @@ invoked, must run these steps:
33463346

33473347
</div>
33483348

3349-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
3349+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
33503350
identifying the [=object-store/records=] keys to be counted. If null or not
33513351
given, an [=unbounded key range=] is used.
33523352

@@ -3424,8 +3424,8 @@ The <dfn method for=IDBObjectStore>openCursor(|query|,
34243424

34253425
</div>
34263426

3427-
The |query| parameter may be a [=/key=] or an
3428-
{{IDBKeyRange}} to use as the [=cursor=]'s [=cursor/range=].
3427+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3428+
to use as the [=cursor=]'s [=cursor/range=].
34293429
If null or not given, an [=unbounded key range=] is used.
34303430

34313431

@@ -3472,8 +3472,8 @@ The <dfn method for=IDBObjectStore>openKeyCursor(|query|,
34723472

34733473
</div>
34743474

3475-
The |query| parameter may be a [=/key=] or an
3476-
{{IDBKeyRange}} to use as the [=cursor=]'s [=cursor/range=]. If null
3475+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3476+
to use as the [=cursor=]'s [=cursor/range=]. If null
34773477
or not given, an [=unbounded key range=] is used.
34783478

34793479
<dl class="domintro note">
@@ -3908,8 +3908,8 @@ must run these steps:
39083908

39093909
</div>
39103910

3911-
The |query| parameter may be a [=/key=] or an
3912-
{{IDBKeyRange}} identifying the [=object-store/record=] to be retrieved. If a
3911+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3912+
identifying the [=object-store/record=] to be retrieved. If a
39133913
range is specified, the method retrieves the first existing record in
39143914
that range.
39153915

@@ -3953,8 +3953,8 @@ invoked, must run these steps:
39533953

39543954
</div>
39553955

3956-
The |query| parameter may be a [=/key=] or an
3957-
{{IDBKeyRange}} identifying the [=object-store/record=] key to be retrieved.
3956+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
3957+
identifying the [=object-store/record=] key to be retrieved.
39583958
If a range is specified, the method retrieves the first existing key
39593959
in that range.
39603960

@@ -3989,7 +3989,7 @@ when invoked, must run these steps:
39893989

39903990
</div>
39913991

3992-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
3992+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
39933993
identifying the [=object-store/records=] to be retrieved. If null or not given,
39943994
an [=unbounded key range=] is used. If |count| is specified and
39953995
there are more than |count| records in range, only the first |count|
@@ -4025,7 +4025,7 @@ method, when invoked, must run these steps:
40254025

40264026
</div>
40274027

4028-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
4028+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
40294029
identifying the [=object-store/records=] keys to be retrieved. If null or not
40304030
given, an [=unbounded key range=] is used. If |count| is specified
40314031
and there are more than |count| keys in range, only the first |count|
@@ -4061,7 +4061,7 @@ invoked, must run these steps:
40614061

40624062
</div>
40634063

4064-
The |query| parameter may be a [=/key=] or an {{IDBKeyRange}}
4064+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
40654065
identifying the [=object-store/records=] keys to be counted. If null or not
40664066
given, an [=unbounded key range=] is used.
40674067

@@ -4137,8 +4137,8 @@ method, when invoked, must run these steps:
41374137

41384138
</div>
41394139

4140-
The |query| parameter may be a [=/key=] or an
4141-
{{IDBKeyRange}} to use as the [=cursor=]'s [=cursor/range=]. If null
4140+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
4141+
to use as the [=cursor=]'s [=cursor/range=]. If null
41424142
or not given, an [=unbounded key range=] is used.
41434143

41444144

@@ -4184,8 +4184,8 @@ method, when invoked, must run these steps:
41844184

41854185
</div>
41864186

4187-
The |query| parameter may be a [=/key=] or an
4188-
{{IDBKeyRange}} to use as the [=cursor=]'s [=cursor/range=]. If null
4187+
The |query| parameter may be a [=/key=] or [=key range=] (an {{IDBKeyRange}})
4188+
to use as the [=cursor=]'s [=cursor/range=]. If null
41894189
or not given, an [=unbounded key range=] is used.
41904190

41914191

0 commit comments

Comments
 (0)