Skip to content

Instantly share code, notes, and snippets.


Rafal Pastuszak paprikka

View GitHub Profile
paprikka / gist:3178258
Created Jul 25, 2012 — forked from paulirish/gist:366184
html5 geolocation with fallback.
View gist:3178258
// geo-location shim
// currentely only serves lat/long
// depends on jQuery
// doublecheck the ClientLocation results because it may returning null results
if (geolocation) return;