cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject git commit: Update JS snapshot to version 3.5.0-dev (via coho)
Date Thu, 13 Feb 2014 01:09:39 GMT
Updated Branches:
  refs/heads/master bb64cfa4e -> 9d3f61439


Update JS snapshot to version 3.5.0-dev (via coho)


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/9d3f6143
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/9d3f6143
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/9d3f6143

Branch: refs/heads/master
Commit: 9d3f6143917be1a04dd369bbef499671580c5abb
Parents: bb64cfa
Author: Steven Gill <stevengill97@gmail.com>
Authored: Wed Feb 12 17:01:24 2014 -0800
Committer: Steven Gill <stevengill97@gmail.com>
Committed: Wed Feb 12 17:01:24 2014 -0800

----------------------------------------------------------------------
 www/cordova.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/9d3f6143/www/cordova.js
----------------------------------------------------------------------
diff --git a/www/cordova.js b/www/cordova.js
index 29a3502..5ebe5f3 100644
--- a/www/cordova.js
+++ b/www/cordova.js
@@ -1,5 +1,5 @@
 // Platform: ubuntu
-// 3.5.0-dev-a9d8c4b
+// 3.5.0-dev-ddf13aa
 /*
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
@@ -19,7 +19,7 @@
  under the License.
 */
 ;(function() {
-var CORDOVA_JS_BUILD_LABEL = '3.5.0-dev-a9d8c4b';
+var CORDOVA_JS_BUILD_LABEL = '3.5.0-dev-ddf13aa';
 // file: src/scripts/require.js
 
 /*jshint -W079 */
@@ -1209,7 +1209,7 @@ function findCordovaPath() {
     var scripts = document.getElementsByTagName('script');
     var term = 'cordova.js';
     for (var n = scripts.length-1; n>-1; n--) {
-        var src = scripts[n].src;
+        var src = scripts[n].src.replace(/\?.*$/, ''); // Strip any query param (CB-6007).
         if (src.indexOf(term) == (src.length - term.length)) {
             path = src.substring(0, src.length - term.length);
             break;


Mime
View raw message