cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject js commit: [ios] Fix lint warnings in ios/exec.js.
Date Tue, 15 Jan 2013 18:25:51 GMT
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 <agrieve@chromium.org>
Authored: Tue Jan 15 13:25:32 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
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];
             }


Mime
View raw message