-
-
- -
-
-
    -
  • {{objective}}
  • -
-
+
+
+ +
+
+
    +
  • {{objective}}
  • +
-
- -
+
+
+ +
From ec61e507fcb3a45777f5bd88f1f0de68045998ad Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Mon, 23 May 2016 20:47:43 -0700 Subject: [PATCH 3/3] Pull projects data from Github api --- js/main.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/main.js b/js/main.js index 7673f0a..1d45f2c 100644 --- a/js/main.js +++ b/js/main.js @@ -9,10 +9,11 @@ app.controller('MainCtrl', ['$scope', 'filterFilter', '$anchorScroll', self.projects = projectsData; $.ajax({ - url: 'https://raw.githubusercontent.com/devsecops/devsecops.github.io/master/data/projects.json', + url: 'https://api.github.com/orgs/devsecops/repos', + // url: 'https://raw.githubusercontent.com/devsecops/devsecops.github.io/master/data/projects.json', dataType: 'json', success: function(data) { - var projects = data.AllProjects; + var projects = data; $scope.currentPage = 1; //current page $scope.maxSize = 5; //pagination max size $scope.entryLimit = 36; //max rows for data table