Skip to content

Commit 0106f60

Browse files
committed
Fix compilation
1 parent 095fc7e commit 0106f60

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package org.scalajs.dom
55
*/
66
object idb {
77
type Cursor = IDBCursor
8-
@inline def CursorDirection = raw.IDBCursorDirection
8+
@inline def CursorDirection = IDBCursorDirection
99
type CursorWithValue = IDBCursorWithValue
1010
type Database = IDBDatabase
1111
type Factory = IDBFactory
@@ -16,7 +16,7 @@ object idb {
1616
type OpenDBRequest = IDBOpenDBRequest
1717
type Request = IDBRequest
1818
type Transaction = IDBTransaction
19-
@inline def TransactionMode = raw.IDBTransactionMode
19+
@inline def TransactionMode = IDBTransactionMode
2020
type VersionChangeEvent = IDBVersionChangeEvent
2121
@deprecated(
2222
"Removed. This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible. See https://developer.mozilla.org/en-US/docs/Web/API/IDBEnvironment",

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,6 @@ object raw {
336336

337337
@deprecated("use dom.IDBCursor instead", "2.0.0")
338338
type IDBCursor = dom.IDBCursor
339-
@deprecated("use dom.IDBCursor instead", "2.0.0")
340-
@inline def IDBCursor = dom.IDBCursor
341339
@deprecated("use dom.IDBCursorWithValue instead", "2.0.0")
342340
type IDBCursorWithValue = dom.IDBCursorWithValue
343341
@deprecated("use dom.IDBDatabase instead", "2.0.0")
@@ -360,8 +358,6 @@ object raw {
360358
type IDBRequest = dom.IDBRequest
361359
@deprecated("use dom.IDBTransaction instead", "2.0.0")
362360
type IDBTransaction = dom.IDBTransaction
363-
@deprecated("use dom.IDBTransaction instead", "2.0.0")
364-
@inline def IDBTransaction = dom.IDBTransaction
365361
@deprecated("use dom.IDBVersionChangeEvent instead", "2.0.0")
366362
type IDBVersionChangeEvent = dom.IDBVersionChangeEvent
367363
@deprecated("use dom.ImageBitmap instead", "2.0.0")

0 commit comments

Comments
 (0)