tmp: geolocation to test through https (must push to master) sorry ..
This commit is contained in:
parent
b7d22fad31
commit
dc167766fa
|
@ -56,3 +56,8 @@ require('./websocket');
|
|||
|
||||
/* (3) Remove global ref to router */
|
||||
delete window._router_;
|
||||
|
||||
|
||||
/* (4) Get geolocation
|
||||
---------------------------------------------------------*/
|
||||
navigator.geolocation && navigator.geolocation.getCurrentPosition(function(a, b){ console.log(this, a, b); }, null);
|
||||
|
|
|
@ -138,3 +138,6 @@ gstore.add('msg_pending', {
|
|||
|
||||
// notification stack visibility
|
||||
gstore.add('nstack', false);
|
||||
|
||||
// location
|
||||
gstore.add('loc', [0, 0]);
|
Loading…
Reference in New Issue