From 6efc4c9d42b3437807e94d0ee03cf4abf942037b Mon Sep 17 00:00:00 2001 From: Hiroki Ito Date: Thu, 27 Jan 2022 03:21:31 +0900 Subject: change style of
 block to "brush: js"

to align to other js examples in this page.
---
 files/ja/web/api/serviceworkercontainer/register/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'files/ja/web/api/serviceworkercontainer/register')

diff --git a/files/ja/web/api/serviceworkercontainer/register/index.html b/files/ja/web/api/serviceworkercontainer/register/index.html
index e6705f094d..5a198ae5f5 100644
--- a/files/ja/web/api/serviceworkercontainer/register/index.html
+++ b/files/ja/web/api/serviceworkercontainer/register/index.html
@@ -22,8 +22,8 @@ translation_of: Web/API/ServiceWorkerContainer/register
 
 

構文

-
serviceWorkerContainer.register(scriptURL, options)
-  .then(function(serviceWorkerRegistration) { ... });
+
serviceWorkerContainer.register(scriptURL, options)
+  .then(function(serviceWorkerRegistration) { ... });

パラメーター

-- cgit v1.2.3-54-g00ecf