Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63ADB17466 for ; Sun, 9 Aug 2015 12:43:23 +0000 (UTC) Received: (qmail 24087 invoked by uid 500); 9 Aug 2015 12:43:18 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 23990 invoked by uid 500); 9 Aug 2015 12:43:18 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 23773 invoked by uid 99); 9 Aug 2015 12:43:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Aug 2015 12:43:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D5C82E04BE; Sun, 9 Aug 2015 12:43:17 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: akurdyumov@apache.org To: commits@cordova.apache.org Date: Sun, 09 Aug 2015 12:43:23 -0000 Message-Id: <3ad6ccff63f64335a8bea766814fce5d@git.apache.org> In-Reply-To: <21bf5bd60ccd4bb5bb58ba03abed1658@git.apache.org> References: <21bf5bd60ccd4bb5bb58ba03abed1658@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 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 Authored: Thu Aug 6 21:25:21 2015 +0600 Committer: Andrey Kurdyumov 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