vendor/assets/javascripts/webshims/shims/combos/15.js in webshims-rails-0.4.6 vs vendor/assets/javascripts/webshims/shims/combos/15.js in webshims-rails-0.4.7
- old
+ new
@@ -5,10 +5,10 @@
throw('document.write is overwritten by geolocation shim. This method is incompatible with this plugin');
}, 1);
},
id = 0
;
- var geoOpts = $.webshims.cfg.geolocation.options || {};
+ var geoOpts = $.webshims.cfg.geolocation || {};
navigator.geolocation = (function(){
var pos;
var api = {
getCurrentPosition: function(success, error, opts){
var locationAPIs = 2,