grim/port-authority

remove the rest functions we're not using
feature/semantic-ui
2015-03-12, Gary Kramlich
540ff0c29a98
Parents 5cef3c48e148
Children a9f39289e3ec
remove the rest functions we're not using
  • +0 -15
    js/app.js
  • --- a/js/app.js Thu Mar 12 22:06:36 2015 -0500
    +++ b/js/app.js Thu Mar 12 22:36:57 2015 -0500
    @@ -16,23 +16,8 @@
    }
    return $http.get(url);
    },
    - images: function(registry, repo) {
    - return $http.get(registry + "/v1/repositories/" + repo + "/images")
    - .success(function(images) {
    - for(var i = 0; i < images.length; i++) {
    - var image = images[i];
    -
    - image['short_id'] = image.id.substring(0, 8);
    - }
    -
    - return images;
    - });
    - },
    tags: function(registry, repo) {
    return $http.get(registry + "/v1/repositories/" + repo + "/tags");
    - },
    - info: function(registry, image) {
    - return $http.get(registry + "/v1/images/" + image + "/json");
    }
    }
    });