Skip to content

Migrate storage to dom #572

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into topic/migrate-storage
  • Loading branch information
armanbilge committed Sep 9, 2021
commit 2f447c98f5fa0366b218e2a82acaed247e20bee2
8 changes: 7 additions & 1 deletion src/main/scala/org/scalajs/dom/lib.scala
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,13 @@ class Navigator
def sendBeacon(url: String, data: BodyInit = js.native): Boolean = js.native

/** https://storage.spec.whatwg.org/ */
val storage: StorageManager = js.native
def storage: StorageManager = js.native

/** Implements the Gamepad API.
*
* [[https://www.w3.org/TR/2015/WD-gamepad-20151217/ W3C Working Draft]]
*/
def getGamepads(): js.Array[Gamepad] = js.native
}

@js.native
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.