Skip to content

Commit d3dbba7

Browse files
committed
Fix ScalaDoc
1 parent af0c635 commit d3dbba7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/scala/org/scalajs/dom/IDBTypes.scala

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ trait IDBStoreLike[S] extends js.Object {
6767
* key. This is for retrieving specific records from an object store.
6868
*
6969
* Note: This method produces the same result for: a) a record that doesn't exist in the database and b) a record
70-
* that has an undefined value. To tell these situations apart, call the [[openCursor()]] method with the same key.
70+
* that has an undefined value. To tell these situations apart, call the [[openCursor]] method with the same key.
7171
* That method provides a cursor if the record exists, and no cursor if it does not.
7272
*/
7373
def get(key: IDBKey | IDBKeyRange): IDBRequest[S, IDBValue] = js.native
@@ -85,9 +85,9 @@ trait IDBStoreLike[S] extends js.Object {
8585
*
8686
* To tell these situations apart, you either call
8787
*
88-
* - the [[openCursor()]] method with the same key. That method provides a cursor if the record exists, and no
89-
* cursor if it does not.
90-
* - the [[count()]] method with the same key, which will return 1 if the row exists and 0 if it doesn't.
88+
* - the [[openCursor]] method with the same key. That method provides a cursor if the record exists, and no cursor
89+
* if it does not.
90+
* - the [[count]] method with the same key, which will return 1 if the row exists and 0 if it doesn't.
9191
*/
9292
def getAll(query: js.UndefOr[IDBKeyRange | IDBKey] = js.native,
9393
count: js.UndefOr[Int] = js.native): IDBRequest[S, js.Array[IDBValue]] = js.native
@@ -103,8 +103,8 @@ trait IDBStoreLike[S] extends js.Object {
103103
* - a record that doesn't exist in the database
104104
* - a record that has an undefined value
105105
*
106-
* To tell these situations apart, you need to call the [[openCursor()]] method with the same key. That method
107-
* provides a cursor if the record exists, and no cursor if it does not.
106+
* To tell these situations apart, you need to call the [[openCursor]] method with the same key. That method provides
107+
* a cursor if the record exists, and no cursor if it does not.
108108
*/
109109
def getAllKeys(query: js.UndefOr[IDBKeyRange | IDBKey] = js.native,
110110
count: js.UndefOr[Int] = js.native): IDBRequest[S, js.Array[IDBKey]] = js.native
@@ -167,9 +167,9 @@ class IDBObjectStore extends IDBStoreLike[IDBObjectStore] {
167167
/** Returns an [[IDBRequest]] object, and, in a separate thread, deletes the specified record or records.
168168
*
169169
* Either a key or an [[IDBKeyRange]] can be passed, allowing one or multiple records to be deleted from a store. To
170-
* delete all records in a store, use [[clear()]].
170+
* delete all records in a store, use [[clear]].
171171
*
172-
* Bear in mind that if you are using an [[IDBCursor]], you can use the [[IDBCursor.delete()]] method to more
172+
* Bear in mind that if you are using an [[IDBCursor]], you can use the [[IDBCursor.delete]] method to more
173173
* efficiently delete the current record — without having to explicitly look up the record's key.
174174
*/
175175
def delete(key: IDBKey | IDBKeyRange): IDBRequest[IDBObjectStore, Unit] = js.native

0 commit comments

Comments
 (0)