replaced Grunt with Webpack as front-end build tool

This commit is contained in:
alecmerdler 2017-05-21 02:10:11 -07:00
parent 36ddba24ad
commit 2e133d2b9c
16 changed files with 222 additions and 481 deletions

View file

@ -12,10 +12,6 @@ $.fn.clipboardCopy = function() {
(function () {
__zeroClipboardSupported = true;
ZeroClipboard.config({
'swfPath': 'static/lib/ZeroClipboard.swf'
});
ZeroClipboard.on("error", function(e) {
__zeroClipboardSupported = false;
});

View file

@ -60,7 +60,7 @@ angular.module('quay').directive('credentialsDialog', function () {
$scope.downloadFile = function(info) {
var blob = new Blob([info.contents]);
saveAs(blob, info.filename);
FileSaver.saveAs(blob, info.filename);
};
$scope.viewFile = function(context) {

View file

@ -88,7 +88,7 @@ angular.module('quay').directive('requestServiceKeyDialog', function () {
$scope.downloadPrivateKey = function(key) {
var blob = new Blob([key.private_key]);
saveAs(blob, key.service + '.pem');
FileSaver.saveAs(blob, key.service + '.pem');
};
$scope.createPresharedKey = function() {

View file

@ -239,7 +239,7 @@ angular.module('quay').directive('serviceKeysManager', function () {
$scope.downloadPrivateKey = function(key) {
var blob = new Blob([key.private_key]);
saveAs(blob, $scope.getKeyTitle(key) + '.pem');
FileSaver.saveAs(blob, $scope.getKeyTitle(key) + '.pem');
};
$scope.askDeleteMultipleKeys = function(keys) {