Skip to content

Commit

Permalink
Syntax highlighting added ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
rmariuzzo committed Sep 6, 2016
1 parent 65c221d commit 2d66c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Expand Up @@ -25,7 +25,7 @@ What about older browsers I hear you say? Well, the beast has them tamed too! Se

First up, you need to check if Service Workers are supported in your browser. If they are, create and register the Service Worker by adding the following code to your page.

```
```html
<script>
// Register the service worker
if ('serviceWorker' in navigator) {
Expand All @@ -40,7 +40,7 @@ First up, you need to check if Service Workers are supported in your browser. If

Next, simply import the script into your Service Worker (service-worker.js) and begin optimizing.

```
```js
(global => {
'use strict';

Expand Down

0 comments on commit 2d66c5c

Please sign in to comment.