[OpenLayers-Commits] r11182 - sandbox/cmoullet/openlayers/examples

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Mon Feb 21 09:20:16 EST 2011


Author: cmoullet
Date: 2011-02-21 06:20:16 -0800 (Mon, 21 Feb 2011)
New Revision: 11182

Modified:
   sandbox/cmoullet/openlayers/examples/browser.html
Log:
Add orientation support check

Modified: sandbox/cmoullet/openlayers/examples/browser.html
===================================================================
--- sandbox/cmoullet/openlayers/examples/browser.html	2011-02-21 14:03:25 UTC (rev 11181)
+++ sandbox/cmoullet/openlayers/examples/browser.html	2011-02-21 14:20:16 UTC (rev 11182)
@@ -70,6 +70,10 @@
             divResult('HTML5', 'canplay', document.createElement('video'), result);
             divResult('HTML5', 'seeking', document.createElement('video'), result);
             divResult('HTML5', 'seekend', document.createElement('video'), result);
+
+            divResult('orientation', 'ondeviceorientation', window, result);
+            divResult('orientation', 'onmozorientation', window, result);
+            divResult('orientation', 'ondevicemotion', window, result);
         }
     </script>
 </head>



More information about the Commits mailing list