Add clipboard copy support for the pull command

This commit is contained in:
Joseph Schorr 2013-09-27 16:12:51 -04:00
parent 479e23b09d
commit c466bca32d
7 changed files with 41 additions and 5 deletions

View file

@ -43,6 +43,8 @@ function RepoCtrl($scope, Restangular, $routeParams, $rootScope) {
$rootScope.title = namespace + '/' + name;
$scope.repo = repo;
$scope.currentTag = repo.tags[tag] || repo.tags['latest'];
var clip = new ZeroClipboard($('#copyClipboard'), { 'moviePath': 'static/js/ZeroClipboard.swf' });
}, function() {
$scope.repo = null;
$rootScope.title = 'Unknown Repository';