[OpenLayers-Commits] r11349 - sandbox/sbrunner/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 11:11:57 EST 2011


Author: sbrunner
Date: 2011-02-23 08:11:57 -0800 (Wed, 23 Feb 2011)
New Revision: 11349

Modified:
   sandbox/sbrunner/openlayers/examples/geolocation.js
Log:
add debug messages

Modified: sandbox/sbrunner/openlayers/examples/geolocation.js
===================================================================
--- sandbox/sbrunner/openlayers/examples/geolocation.js	2011-02-23 16:11:04 UTC (rev 11348)
+++ sandbox/sbrunner/openlayers/examples/geolocation.js	2011-02-23 16:11:57 UTC (rev 11349)
@@ -123,7 +123,7 @@
                 }
 // Device Orientation
 if (window.DeviceOrientationEvent) {
-    function f = function(event) {
+    f = function(event) {
         if (event.alpha) {
             var orientation = event.alpha - window.orientation - 90;
             var img = OpenLayers.Util.getElement('northimg');



More information about the Commits mailing list