devicemap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1002993 - in /websites/staging/devicemap/trunk/content: ./ docs/browsermap.html
Date Sat, 17 Dec 2016 15:52:44 GMT
Author: buildbot
Date: Sat Dec 17 15:52:43 2016
New Revision: 1002993

Log:
Staging update by buildbot for devicemap

Modified:
    websites/staging/devicemap/trunk/content/   (props changed)
    websites/staging/devicemap/trunk/content/docs/browsermap.html

Propchange: websites/staging/devicemap/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Dec 17 15:52:43 2016
@@ -1 +1 @@
-1774777
+1774780

Modified: websites/staging/devicemap/trunk/content/docs/browsermap.html
==============================================================================
--- websites/staging/devicemap/trunk/content/docs/browsermap.html (original)
+++ websites/staging/devicemap/trunk/content/docs/browsermap.html Sat Dec 17 15:52:43 2016
@@ -78,7 +78,33 @@ h2:hover > .headerlink, h3:hover > .head
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover
> .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink
{ visibility: visible }</style>
 <p>BrowserMap is a client side Javascript mechanism to analyze the User Agent and detect
a device your browser runs on. </p>
-<p>It is fairly close to <a href="http://cordova.apache.org/">Apache Cordova</a>
but while Cordova / Phonegap runs in a "tiny browser" wrapped into a native executable, BrowserMap
runs in anny full scale web browser with JavaScript support.</p>
+<p>It is fairly close to <a href="http://cordova.apache.org/">Apache Cordova</a>
but while Cordova / Phonegap runs in a "tiny browser" wrapped into a native executable, BrowserMap
runs in any full scale web browser with JavaScript support.</p>
+<p>Example of Debugging Info - BrowserMap
+```js
+BrowserMap.version=1.4.0
+Modernizr.touch=true
+Modernizr.csstransforms3d=true
+window.devicePixelRatio=2
+window.orientation=undefined
+navigator.vendor=Google Inc.
+navigator.platform=Win32
+navigator.appName=Netscape
+navigator.appVersion=5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/55.0.2883.87 Safari/537.36
+navigator.appCodeName=Mozilla
+navigator.userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/55.0.2883.87 Safari/537.36
+screenWidth=1280
+screenHeight=720
+clientWidth=1280
+orientation=landscape
+portrait=false
+landscape=true
+screenWidthDependingOnOrientation=1280
+clientWidthDependingOnOrientation=1280
+devicePixelRatio=2
+canResizeBrowserWindow=false</p>
+<p>Test functions: 
+function (){return BrowserMap.probe("devicePixelRatio")&gt;=2}
+```</p>
   </div>
   
   <div id="footer">



Mime
View raw message