1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/spec/support/geolocation.js

7 lines
151 B
JavaScript

navigator.geolocation =
{
getCurrentPosition: function(callback)
{
callback({ coords: { latitude: '1', longitude: '-1' } });
}
}