Skip to content

Instantly share code, notes, and snippets.

Avatar

Rafal Pastuszak paprikka

View GitHub Profile
@paprikka
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
;(function(geolocation){
if (geolocation) return;
You can’t perform that action at this time.