'use strict';

var m = require('mithril');
var attachFastClick = require('fastclick');
var GameComponent = require('./components/game');

m.mount(document.getElementById('app'), GameComponent);
attachFastClick(document.body);

// Load service worker to enable offline access
if ('serviceWorker' in navigator) {
  navigator.serviceWorker.register('service-worker.js');
}

@@ -272,17 +272,26 @@
 ess%0Aif (
-'
+navigator.
 serviceW
@@ -299,22 +299,8 @@
 rker
-' in navigator
 ) %7B%0A

Use property access instead of 'in' to detect SW