diff options
Diffstat (limited to 'files/ja/web/api/serviceworkercontainer/register')
-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> |