cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject spec commit: CB-6007 mobile spec test for <script src="cordova.js?foo">
Date Tue, 11 Feb 2014 16:05:23 GMT
Updated Branches:
  refs/heads/master 3f5528ba1 -> e0967ed4c


CB-6007 mobile spec test for <script src="cordova.js?foo">


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/e0967ed4
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/e0967ed4
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/e0967ed4

Branch: refs/heads/master
Commit: e0967ed4cec10dbfdd56c3e742532ce9b7356610
Parents: 3f5528b
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Feb 11 11:04:49 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Feb 11 11:04:49 2014 -0500

----------------------------------------------------------------------
 cordova-incl.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/e0967ed4/cordova-incl.js
----------------------------------------------------------------------
diff --git a/cordova-incl.js b/cordova-incl.js
index bcd52dd..76add7a 100644
--- a/cordova-incl.js
+++ b/cordova-incl.js
@@ -39,7 +39,7 @@ var PLAT;
 })();
 
 var scripts = document.getElementsByTagName('script');
-var currentPath = scripts[scripts.length - 1].src;
+var currentPath = scripts[scripts.length - 1].src + '?paramShouldBeIgnored';
 var cordovaPath = currentPath.replace("cordova-incl.js", "cordova.js");
 
 if (!window._doNotWriteCordovaScript) {


Mime
View raw message