devicemap-commits mailing list archives

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

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:56:29 2016
@@ -1 +1 @@
-1774780
+1774781

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:56:29 2016
@@ -80,31 +80,30 @@ h2:hover > .headerlink, h3:hover > .head
 <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 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>
+    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>
+<div class="codehilite"><pre><span class="n">Test</span> <span
class="n">functions</span><span class="p">:</span> 
+<span class="k">function</span><span class="w"> </span><span class="nf">(){return
BrowserMap.probe</span><span class="p">(</span>&quot;devicePixelRatio&quot;<span
class="p">)</span><span class="o">&gt;</span><span class="p">=</span>2<span
class="p">}</span>
+</pre></div>
   </div>
   
   <div id="footer">



Mime
View raw message