cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akurdyu...@apache.org
Subject [7/9] docs commit: Fix broken switching of lang when run from local file system Since I don't load GA when serving from file:// then no ga function created I provide dummy version for testing purposes
Date Sun, 09 Aug 2015 12:43:23 GMT
Fix broken switching of lang when run from local file system
Since I don't load GA when serving from file:// then no ga function created
I provide dummy version for testing purposes


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/3c210fb0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/3c210fb0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/3c210fb0

Branch: refs/heads/master
Commit: 3c210fb0c36587b5e0fe47f13125c8f8ee11bf9b
Parents: 1b55d52
Author: Andrey Kurdyumov <kant2002@gmail.com>
Authored: Thu Aug 6 21:25:21 2015 +0600
Committer: Andrey Kurdyumov <kant2002@gmail.com>
Committed: Thu Aug 6 21:25:21 2015 +0600

----------------------------------------------------------------------
 template/docs/default/index.js | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/3c210fb0/template/docs/default/index.js
----------------------------------------------------------------------
diff --git a/template/docs/default/index.js b/template/docs/default/index.js
index d2754fc..a7af438 100644
--- a/template/docs/default/index.js
+++ b/template/docs/default/index.js
@@ -28,6 +28,10 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
 
 ga('create', 'UA-64283057-1', 'auto');
 ga('send', 'pageview');
+} else {
+    function ga() {
+        console.log(arguments);
+    }
 }
 
 //


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


Mime
View raw message