You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sg...@apache.org on 2014/06/23 13:36:21 UTC

git commit: CB-6976 Corrected snapshot urls for windows

Repository: cordova-lib
Updated Branches:
  refs/heads/master 5322192a9 -> 63c6b350c


CB-6976 Corrected snapshot urls for windows


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/63c6b350
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/63c6b350
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/63c6b350

Branch: refs/heads/master
Commit: 63c6b350c5eedd2779761c2bf2227323e6cb4f60
Parents: 5322192
Author: sgrebnov <v-...@microsoft.com>
Authored: Mon Jun 23 15:31:38 2014 +0400
Committer: sgrebnov <v-...@microsoft.com>
Committed: Mon Jun 23 15:31:38 2014 +0400

----------------------------------------------------------------------
 cordova-lib/src/cordova/lazy_load.js | 4 ----
 cordova-lib/src/cordova/platforms.js | 8 ++++----
 2 files changed, 4 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/63c6b350/cordova-lib/src/cordova/lazy_load.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/lazy_load.js b/cordova-lib/src/cordova/lazy_load.js
index 984d745..c157cc2 100644
--- a/cordova-lib/src/cordova/lazy_load.js
+++ b/cordova-lib/src/cordova/lazy_load.js
@@ -75,10 +75,6 @@ function cordova_git(platform) {
     }
 
     var url = platforms[platform].url + ';a=snapshot;h=' + platforms[platform].version + ';sf=tgz';
-    var url = platforms[platform].url + ';a=snapshot;h=' + platforms[platform].version + ';sf=tgz';
-    if (platform == 'windows' || platform == 'windows8') {
-        url = platforms[platform].url; // TODO tmp hack for win81. Must be removed.
-    }
     return module.exports.custom(url, 'cordova', platform, platforms[platform].version);
 }
 

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/63c6b350/cordova-lib/src/cordova/platforms.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/platforms.js b/cordova-lib/src/cordova/platforms.js
index 6570266..9fcfac7 100644
--- a/cordova-lib/src/cordova/platforms.js
+++ b/cordova-lib/src/cordova/platforms.js
@@ -70,15 +70,15 @@ module.exports = {
     'windows8':{
         hostos : ['win32'],
         parser: './metadata/windows_parser',
-        url    : 'http://github.com/MSOpenTech/cordova-windows/archive/win81.tar.gz',
-        version: '3.6.0',
+        url    : 'https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git',
+        version: 'master',
         subdirectory: 'windows'
     },
     'windows':{
         hostos : ['win32'],
         parser: './metadata/windows_parser',
-        url    : 'http://github.com/MSOpenTech/cordova-windows/archive/win81.tar.gz',
-        version: '3.6.0',
+        url    : 'https://git-wip-us.apache.org/repos/asf?p=cordova-windows.git',
+        version: 'master',
         subdirectory: 'windows'
     }
 };