From 4beac5904ecd38b9ef1472b83046a54341f26548 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 5 Sep 2016 21:26:14 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/geolocation.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releases/next/docs/geolocation.html b/releases/next/docs/geolocation.html index 4ed5101c5b9..87c3736ff32 100644 --- a/releases/next/docs/geolocation.html +++ b/releases/next/docs/geolocation.html @@ -45,7 +45,7 @@ class GeolocationExample extends var initialPosition = JSON.stringify(position); this.setState({initialPosition}); }, - (error) => alert(error), + (error) => alert(JSON.stringify(error)), {enableHighAccuracy: true, timeout: 20000, maximumAge: 1000} ); this.watchID = navigator.geolocation.watchPosition((position) => {