Re: [geofencing-api] Uncaught (in promise) ReferenceError: CircularGeofenceRegion is not defined

Going to add my script as well, again getting same error msg in Google
 Canary. My code is here:

```
navigator.serviceWorker.ready.then(function(serviceWorkerRegistration)
 {
  var region = new CircularGeofenceRegion("myfence", 37.421999, 
-122.084015, 1000);
  
serviceWorkerRegistration.geofencing.add(region).then(function(regionRegistration)
 {
    console.log("Created Geofence " + regionRegistration);
  }, function(error) {
    console.log("Error: " + error);
  });
});
```

-- 
GitHub Notification of comment by ayumihamsaki
Please view or discuss this issue at 
https://github.com/w3c/geofencing-api/issues/27#issuecomment-217668434
 using your GitHub account

Received on Saturday, 7 May 2016 20:59:10 UTC