Created
October 7, 2016 14:14
-
-
Save sjrd/a6426e2bcbe6a7bfcc58101338424aff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/scala/org/scalajs/dom/experimental/push/PushManager.scala b/src/main/scala/org/scalajs/dom/experimental/push/PushManager.scala | |
index f721e20..da5005b 100644 | |
--- a/src/main/scala/org/scalajs/dom/experimental/push/PushManager.scala | |
+++ b/src/main/scala/org/scalajs/dom/experimental/push/PushManager.scala | |
@@ -41,7 +41,8 @@ trait PushManager extends js.Object { | |
* MDN | |
*/ | |
def permissionState( | |
- options: PushSubscriptionOptions = js.native): js.Promise[PushPermissionState] = js.native | |
+ options: PushSubscriptionOptions = js.native): js.Promise[ | |
+ PushPermissionState] = js.native | |
/** | |
* The subscribe() method of the PushManager interface subscribes to a push service. | |
@@ -52,8 +53,8 @@ trait PushManager extends js.Object { | |
* | |
* MDN | |
*/ | |
- def subscribe( | |
- options: PushSubscriptionOptions = js.native): js.Promise[PushSubscription] = js.native | |
+ def subscribe(options: PushSubscriptionOptions = js.native): js.Promise[ | |
+ PushSubscription] = js.native | |
} | |
/** | |
diff --git a/src/main/scala/org/scalajs/dom/experimental/serviceworkers/ServiceWorkers.scala b/src/main/scala/org/scalajs/dom/experimental/serviceworkers/ServiceWorkers.scala | |
index 0278c44..9792c70 100644 | |
--- a/src/main/scala/org/scalajs/dom/experimental/serviceworkers/ServiceWorkers.scala | |
+++ b/src/main/scala/org/scalajs/dom/experimental/serviceworkers/ServiceWorkers.scala | |
@@ -268,7 +268,8 @@ trait ServiceWorkerContainer extends EventTarget { | |
* MDN | |
*/ | |
def register(scriptURL: String, | |
- options: js.Object = new js.Object()): js.Promise[ServiceWorkerRegistration] = js.native | |
+ options: js.Object = new js.Object()): js.Promise[ | |
+ ServiceWorkerRegistration] = js.native | |
/** | |
* The ServiceWorkerContainer.controller read-only property of the | |
@@ -288,8 +289,8 @@ trait ServiceWorkerContainer extends EventTarget { | |
* | |
* MDN | |
*/ | |
- def getRegistration( | |
- scope: String = ""): js.Promise[js.UndefOr[ServiceWorkerRegistration]] = js.native | |
+ def getRegistration(scope: String = ""): js.Promise[ | |
+ js.UndefOr[ServiceWorkerRegistration]] = js.native | |
/** | |
* The getRegistrations() method of the ServiceWorkerContainer interface | |
@@ -299,7 +300,8 @@ trait ServiceWorkerContainer extends EventTarget { | |
* | |
* MDN | |
*/ | |
- def getRegistrations(): js.Promise[js.Array[ServiceWorkerRegistration]] = js.native | |
+ def getRegistrations(): js.Promise[ | |
+ js.Array[ServiceWorkerRegistration]] = js.native | |
/** | |
* The ready read-only property of the ServiceWorkerContainer interface | |
@@ -582,7 +584,8 @@ trait Clients extends js.Object { | |
def get(id: String): js.Promise[js.UndefOr[Client]] = js.native | |
def matchAll( | |
- options: js.UndefOr[ClientQueryOptions] = js.native): js.Promise[js.Array[Client]] = js.native | |
+ options: js.UndefOr[ClientQueryOptions] = js.native): js.Promise[ | |
+ js.Array[Client]] = js.native | |
def openWindow(url: String): js.Promise[WindowClient] = js.native | |
@@ -596,10 +599,12 @@ trait Clients extends js.Object { | |
@js.native | |
abstract class Cache extends js.Object { | |
def `match`(request: RequestInfo, | |
- options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[js.UndefOr[Response]] = js.native | |
+ options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[ | |
+ js.UndefOr[Response]] = js.native | |
def matchAll(request: RequestInfo = js.native, | |
- options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[js.Array[Response]] = js.native | |
+ options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[ | |
+ js.Array[Response]] = js.native | |
def add(request: RequestInfo): js.Promise[Unit] = js.native | |
@@ -609,10 +614,12 @@ abstract class Cache extends js.Object { | |
response: Response): js.Promise[Unit] = js.native | |
def delete(request: RequestInfo, | |
- options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[Boolean] = js.native | |
+ options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[ | |
+ Boolean] = js.native | |
def keys(request: js.UndefOr[RequestInfo] = js.native, | |
- options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[js.Array[Request]] | |
+ options: js.UndefOr[CacheQueryOptions] = js.native): js.Promise[ | |
+ js.Array[Request]] | |
} | |
/** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment