devicemap-commits mailing list archives

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

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:57:36 2016
@@ -1 +1 @@
-1774781
+1774782

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:57:36 2016
@@ -79,29 +79,30 @@ 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 any full scale web browser with JavaScript support.</p>
-<p>Example of Debugging Info - BrowserMap
-    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> 
+<p>Example of Debugging Info - BrowserMap</p>
+<div class="codehilite"><pre><span class="n">BrowserMap</span><span
class="p">.</span><span class="n">version</span><span class="p">=</span>1<span
class="p">.</span>4<span class="p">.</span>0
+<span class="n">Modernizr</span><span class="p">.</span><span
class="n">touch</span><span class="p">=</span><span class="n">true</span>
+<span class="n">Modernizr</span><span class="p">.</span><span
class="n">csstransforms3d</span><span class="p">=</span><span class="n">true</span>
+<span class="n">window</span><span class="p">.</span><span class="n">devicePixelRatio</span><span
class="p">=</span>2
+<span class="n">window</span><span class="p">.</span><span class="n">orientation</span><span
class="p">=</span><span class="n">undefined</span>
+<span class="n">navigator</span><span class="p">.</span><span
class="n">vendor</span><span class="p">=</span><span class="n">Google</span>
<span class="n">Inc</span><span class="p">.</span>
+<span class="n">navigator</span><span class="p">.</span><span
class="n">platform</span><span class="p">=</span><span class="n">Win32</span>
+<span class="n">navigator</span><span class="p">.</span><span
class="n">appName</span><span class="p">=</span><span class="n">Netscape</span>
+<span class="n">navigator</span><span class="p">.</span><span
class="n">appVersion</span><span class="p">=</span>5<span class="p">.</span>0
<span class="p">(</span><span class="n">Windows</span> <span class="n">NT</span>
10<span class="p">.</span>0<span class="p">;</span> <span class="n">Win64</span><span
class="p">;</span> <span class="n">x64</span><span class="p">)</span>
<span class="n">AppleWebKit</span><span class="o">/</span>537<span
class="p">.</span>36 <span class="p">(</span><span class="n">KHTML</span><span
class="p">,</span> <span class="n">like</span> <span class="n">Gecko</span><span
class="p">)</span> <span class="n">Chrome</span><span class="o">/</span>55<span
class="p">.</span>0<span class="p">.</span>2883<span class="p">.</span>87
<span class="n">Safari</span><span class="o">/</span>537<span class="p">.</span>36
+<span class="n">navigator</span><span class="p">.</span><span
class="n">appCodeName</span><span class="p">=</span><span class="n">Mozilla</span>
+<span class="n">navigator</span><span class="p">.</span><span
class="n">userAgent</span><span class="p">=</span><span class="n">Mozilla</span><span
class="o">/</span>5<span class="p">.</span>0 <span class="p">(</span><span
class="n">Windows</span> <span class="n">NT</span> 10<span class="p">.</span>0<span
class="p">;</span> <span class="n">Win64</span><span class="p">;</span>
<span class="n">x64</span><span class="p">)</span> <span class="n">AppleWebKit</span><span
class="o">/</span>537<span class="p">.</span>36 <span class="p">(</span><span
class="n">KHTML</span><span class="p">,</span> <span class="n">like</span>
<span class="n">Gecko</span><span class="p">)</span> <span class="n">Chrome</span><span
class="o">/</span>55<span class="p">.</span>0<span class="p">.</span>2883<span
class="p">.</span>87 <span class="n">Safari</span><span class="o">/</span>537<span
class="p">.</span>36
+<span class="n">screenWidth</span><span class="p">=</span>1280
+<span class="n">screenHeight</span><span class="p">=</span>720
+<span class="n">clientWidth</span><span class="p">=</span>1280
+<span class="n">orientation</span><span class="p">=</span><span
class="n">landscape</span>
+<span class="n">portrait</span><span class="p">=</span><span class="n">false</span>
+<span class="n">landscape</span><span class="p">=</span><span
class="n">true</span>
+<span class="n">screenWidthDependingOnOrientation</span><span class="p">=</span>1280
+<span class="n">clientWidthDependingOnOrientation</span><span class="p">=</span>1280
+<span class="n">devicePixelRatio</span><span class="p">=</span>2
+<span class="n">canResizeBrowserWindow</span><span class="p">=</span><span
class="n">false</span>
+
+<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>



Mime
View raw message