Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1BE8D579 for ; Wed, 10 Oct 2012 00:53:49 +0000 (UTC) Received: (qmail 13564 invoked by uid 500); 10 Oct 2012 00:53:49 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 13459 invoked by uid 500); 10 Oct 2012 00:53:49 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 13311 invoked by uid 99); 10 Oct 2012 00:53:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2012 00:53:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 566903D0C5; Wed, 10 Oct 2012 00:53:49 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: purplecabbage@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [5/5] js commit: [common] linting issue with function declaration Message-Id: <20121010005349.566903D0C5@tyr.zones.apache.org> Date: Wed, 10 Oct 2012 00:53:49 +0000 (UTC) [common] linting issue with function declaration Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/ff0c696e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/ff0c696e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/ff0c696e Branch: refs/heads/master Commit: ff0c696ee73f427e569e36208c52fc44a97b777c Parents: e4561c4 Author: Jesse MacFadyen Authored: Tue Oct 9 16:57:35 2012 -0700 Committer: Jesse MacFadyen Committed: Tue Oct 9 16:57:35 2012 -0700 ---------------------------------------------------------------------- lib/scripts/bootstrap.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/ff0c696e/lib/scripts/bootstrap.js ---------------------------------------------------------------------- diff --git a/lib/scripts/bootstrap.js b/lib/scripts/bootstrap.js index 84d1036..7887e7b 100644 --- a/lib/scripts/bootstrap.js +++ b/lib/scripts/bootstrap.js @@ -23,7 +23,7 @@ // Replace navigator before any modules are required(), to ensure it happens as soon as possible. // We replace it so that properties that can't be clobbered can instead be overridden. if (typeof navigator != 'undefined') { - function CordovaNavigator() {} + var CordovaNavigator = function () {}; CordovaNavigator.prototype = navigator; navigator = new CordovaNavigator(); }