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 CB4F8EB63 for ; Tue, 15 Jan 2013 18:25:51 +0000 (UTC) Received: (qmail 71232 invoked by uid 500); 15 Jan 2013 18:25:51 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 71195 invoked by uid 500); 15 Jan 2013 18:25:51 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 71187 invoked by uid 99); 15 Jan 2013 18:25:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 18:25:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 78DA91DE17; Tue, 15 Jan 2013 18:25:51 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agrieve@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: js commit: [ios] Fix lint warnings in ios/exec.js. Message-Id: <20130115182551.78DA91DE17@tyr.zones.apache.org> Date: Tue, 15 Jan 2013 18:25:51 +0000 (UTC) Updated Branches: refs/heads/master 1f2323a5a -> 48f8f97e0 [ios] Fix lint warnings in ios/exec.js. Project: http://git-wip-us.apache.org/repos/asf/cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-js/commit/48f8f97e Tree: http://git-wip-us.apache.org/repos/asf/cordova-js/tree/48f8f97e Diff: http://git-wip-us.apache.org/repos/asf/cordova-js/diff/48f8f97e Branch: refs/heads/master Commit: 48f8f97e0afad673448b03f0c8cb088691659f80 Parents: 1f2323a Author: Andrew Grieve Authored: Tue Jan 15 13:25:32 2013 -0500 Committer: Andrew Grieve Committed: Tue Jan 15 13:25:32 2013 -0500 ---------------------------------------------------------------------- lib/ios/exec.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-js/blob/48f8f97e/lib/ios/exec.js ---------------------------------------------------------------------- diff --git a/lib/ios/exec.js b/lib/ios/exec.js index 390ea3e..e0dd8de 100644 --- a/lib/ios/exec.js +++ b/lib/ios/exec.js @@ -163,7 +163,7 @@ function iOSExec() { // Changing this to a GET will make the XHR reach the URIProtocol on 4.2. // For some reason it still doesn't work though... // Add a timestamp to the query param to prevent caching. - execXhr.open('HEAD', "/!gap_exec?" + +new Date, true); + execXhr.open('HEAD', "/!gap_exec?" + (+new Date()), true); if (!vcHeaderValue) { vcHeaderValue = /.*\((.*)\)/.exec(navigator.userAgent)[1]; }