cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikhi...@apache.org
Subject svn commit: r1691305 [2/2] - in /cordova/site/public/docs: de/3.1.0/ de/3.4.0/ de/3.5.0/ de/edge/ en/1.5.0/ en/1.6.0/ en/1.6.1/ en/1.8.1/ en/2.0.0/ en/2.1.0/ en/2.2.0/ en/2.4.0/ en/2.5.0/ en/2.6.0/ en/2.7.0/ en/2.8.0/ en/2.9.0/ en/3.0.0/ en/3.1.0/ en/3...
Date Thu, 16 Jul 2015 03:07:43 GMT
Modified: cordova/site/public/docs/sl/3.5.0/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/sl/3.5.0/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/sl/3.5.0/index.js (original)
+++ cordova/site/public/docs/sl/3.5.0/index.js Thu Jul 16 03:07:41 2015
@@ -20,17 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 
 //
 // Syntax Highlighting
@@ -66,7 +62,7 @@ _gaq.push(['_trackPageview']);
     window.addEventListener('load', function() {
         var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
         if (!$select) return;
-        
+
         $select.addEventListener('change', function(e) {
             document.location = '#' + this.options[this.selectedIndex].value;
         }, false);

Modified: cordova/site/public/docs/sl/edge/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/sl/edge/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/sl/edge/index.js (original)
+++ cordova/site/public/docs/sl/edge/index.js Thu Jul 16 03:07:41 2015
@@ -20,17 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 
 //
 // Syntax Highlighting
@@ -66,7 +62,7 @@ _gaq.push(['_trackPageview']);
     window.addEventListener('load', function() {
         var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
         if (!$select) return;
-        
+
         $select.addEventListener('change', function(e) {
             document.location = '#' + this.options[this.selectedIndex].value;
         }, false);

Modified: cordova/site/public/docs/zh/3.1.0/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/zh/3.1.0/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/zh/3.1.0/index.js (original)
+++ cordova/site/public/docs/zh/3.1.0/index.js Thu Jul 16 03:07:41 2015
@@ -20,18 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
-
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 //
 // Syntax Highlighting
 //
@@ -66,7 +61,7 @@ _gaq.push(['_trackPageview']);
     window.addEventListener('load', function() {
         var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
         if (!$select) return;
-        
+
         $select.addEventListener('change', function(e) {
             document.location = '#' + this.options[this.selectedIndex].value;
         }, false);

Modified: cordova/site/public/docs/zh/3.4.0/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/zh/3.4.0/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/zh/3.4.0/index.js (original)
+++ cordova/site/public/docs/zh/3.4.0/index.js Thu Jul 16 03:07:41 2015
@@ -20,17 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 
 //
 // Syntax Highlighting
@@ -66,7 +62,7 @@ _gaq.push(['_trackPageview']);
     window.addEventListener('load', function() {
         var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
         if (!$select) return;
-        
+
         $select.addEventListener('change', function(e) {
             document.location = '#' + this.options[this.selectedIndex].value;
         }, false);

Modified: cordova/site/public/docs/zh/3.5.0/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/zh/3.5.0/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/zh/3.5.0/index.js (original)
+++ cordova/site/public/docs/zh/3.5.0/index.js Thu Jul 16 03:07:41 2015
@@ -20,17 +20,13 @@
 //
 // Google Analytics
 //
-var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
-_gaq.push(['_setDomainName', '.phonegap.com']);
-_gaq.push(['_trackPageview']);
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
-(function() {
-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-    var s = document.getElementsByTagName('script')[0];
-    s.parentNode.insertBefore(ga, s);
-})();
+ga('create', 'UA-64283057-1', 'auto');
+ga('send', 'pageview');
 
 //
 // Syntax Highlighting
@@ -66,7 +62,7 @@ _gaq.push(['_trackPageview']);
     window.addEventListener('load', function() {
         var $select = document.getElementById('subheader').getElementsByTagName('select')[0];
         if (!$select) return;
-        
+
         $select.addEventListener('change', function(e) {
             document.location = '#' + this.options[this.selectedIndex].value;
         }, false);

Modified: cordova/site/public/docs/zh/edge/index.js
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/zh/edge/index.js?rev=1691305&r1=1691304&r2=1691305&view=diff
==============================================================================
--- cordova/site/public/docs/zh/edge/index.js (original)
+++ cordova/site/public/docs/zh/edge/index.js Thu Jul 16 03:07:41 2015
@@ -21,7 +21,7 @@
 // Google Analytics
 //
 var _gaq = _gaq || [];
-_gaq.push(['_setAccount', 'UA-94271-11']);
+_gaq.push(['_setAccount', 'UA-64283057-1']);
 _gaq.push(['_setDomainName', '.phonegap.com']);
 _gaq.push(['_trackPageview']);
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message