diff --git a/downloads.html b/downloads.html index 702dde0..4ee697f 100644 --- a/downloads.html +++ b/downloads.html @@ -11,14 +11,7 @@ layout: download_page

Release Versions

-
- As MCEdit 2.0 is currently in alpha, no release versions are available. -

- Release versions of MCEdit 1.0 are provided by the MCEdit-Unified team. - Click here to download MCEdit 1.0 (If the website is down, click here for direct downloads) -
-

Development Versions

Development Versions are released once per day, if there have been any changes to the source code. These versions are not well-tested and are not recommended for serious use. @@ -28,34 +21,37 @@ not well-tested and are not recommended for serious use.
- - + + - + - +

{{download.rev}}{{download.rev_date | fromNow}}{{download.tag_name}}{{download.published_at | fromNow}} - {{download.rev_desc}} + {{download.target_commitish}}
-
Content hosting for development versions provided by:
+ + +
+

+ Older versions of MCEdit 1.0 are provided by the MCEdit-Unified team. + Click here to download MCEdit 1.0 (If the website is down, click here for direct downloads)



diff --git a/js/ng/dl-control.js b/js/ng/dl-control.js index 8b459a3..6d380b1 100644 --- a/js/ng/dl-control.js +++ b/js/ng/dl-control.js @@ -1,15 +1,11 @@ var dlApp = angular.module('dlApp', []); -var MODEL_URL = 'https://download.nodecdn.net/containers/mcedit/downloads.jsonp'; +var MODEL_URL = 'https://api.github.com/repos/mcedit/mcedit2/releases'; -var DL_SCOPE; - -function MCEDIT2_DOWNLOADS(data) { - DL_SCOPE.downloads = data; -} dlApp.controller('DownloadListCtrl', function ($scope, $http) { - DL_SCOPE=$scope; - $http.jsonp(MODEL_URL); + $http.get(MODEL_URL).success(function(data) { + $scope.downloadData = data + }) });