You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/08/27 01:57:19 UTC
git commit: update cordova.js
Repository: cordova-windows
Updated Branches:
refs/heads/master c7e5a93ca -> 981cc5795
update cordova.js
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/981cc579
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/981cc579
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/981cc579
Branch: refs/heads/master
Commit: 981cc5795bfeed4263c6960d06cbebecf4449900
Parents: c7e5a93
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Tue Aug 26 16:57:47 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Tue Aug 26 16:57:47 2014 -0700
----------------------------------------------------------------------
windows/template/www/cordova.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/981cc579/windows/template/www/cordova.js
----------------------------------------------------------------------
diff --git a/windows/template/www/cordova.js b/windows/template/www/cordova.js
index a852b8b..deffc3f 100644
--- a/windows/template/www/cordova.js
+++ b/windows/template/www/cordova.js
@@ -1,5 +1,5 @@
// Platform: windows
-// 3.6.0-dev-b3e7f4d
+// 3.6.3
/*
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.6.0-dev-b3e7f4d';
+var CORDOVA_JS_BUILD_LABEL = '3.6.3';
// file: src/scripts/require.js
/*jshint -W079 */
@@ -1368,11 +1368,11 @@ function handlePluginsObject(path, moduleList, finishPluginLoading) {
function findCordovaPath() {
var path = null;
var scripts = document.getElementsByTagName('script');
- var term = 'cordova.js';
+ var term = '/cordova.js';
for (var n = scripts.length-1; n>-1; n--) {
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);
+ path = src.substring(0, src.length - term.length) + '/';
break;
}
}