diff options
author | Hiroki Ito <hiroki110@gmail.com> | 2022-01-27 03:21:31 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-02-03 00:44:27 +0900 |
commit | 6efc4c9d42b3437807e94d0ee03cf4abf942037b (patch) | |
tree | 5d9ddaed14adcb3e0aaff793f6e5caba6e5dea8c | |
parent | e9e69382a3010eb3c2398d7acb93c1786d0d5346 (diff) | |
download | translated-content-6efc4c9d42b3437807e94d0ee03cf4abf942037b.tar.gz translated-content-6efc4c9d42b3437807e94d0ee03cf4abf942037b.tar.bz2 translated-content-6efc4c9d42b3437807e94d0ee03cf4abf942037b.zip |
change style of <pre> block to "brush: js"
to align to other js examples in this page.
-rw-r--r-- | files/ja/web/api/serviceworkercontainer/register/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 <h2 id="Syntax" name="Syntax">構文</h2> -<pre class="syntaxbox"><em>serviceWorkerContainer</em>.register(<em>scriptURL</em>, <em>options</em>) - .then(function(<em>serviceWorkerRegistration</em>) { ... });</pre> +<pre class="brush: js">serviceWorkerContainer.register(scriptURL, options) + .then(function(serviceWorkerRegistration) { ... });</pre> <h3 id="Parameters" name="Parameters">パラメーター</h3> |