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