You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/01/15 19:25:51 UTC

js commit: [ios] Fix lint warnings in ios/exec.js.

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 <ag...@chromium.org>
Authored: Tue Jan 15 13:25:32 2013 -0500
Committer: Andrew Grieve <ag...@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];
             }