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/05/13 02:20:28 UTC
spec commit: CB-6678 [wp8] added windowsphone to the ignore list
Repository: cordova-mobile-spec
Updated Branches:
refs/heads/master d099137d1 -> 9628fbf6a
CB-6678 [wp8] added windowsphone to the ignore list
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/9628fbf6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/9628fbf6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/9628fbf6
Branch: refs/heads/master
Commit: 9628fbf6a3095614248416ea58b33367ea9d4389
Parents: d099137
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon May 12 17:20:13 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon May 12 17:20:13 2014 -0700
----------------------------------------------------------------------
cordova-incl.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/9628fbf6/cordova-incl.js
----------------------------------------------------------------------
diff --git a/cordova-incl.js b/cordova-incl.js
index 2712063..96f3354 100644
--- a/cordova-incl.js
+++ b/cordova-incl.js
@@ -41,7 +41,7 @@ var PLAT;
var scripts = document.getElementsByTagName('script');
var currentPath = scripts[scripts.length - 1].src;
-if (PLAT !== "blackberry10" && PLAT !== "firefoxos") {
+if (PLAT !== "blackberry10" && PLAT !== "firefoxos" && PLAT !== 'windowsphone') {
currentPath += '?paramShouldBeIgnored';
}
var cordovaPath = currentPath.replace("cordova-incl.js", "cordova.js");