remove React code, node-sass, and sass-loader dependencies

This commit is contained in:
alecmerdler 2017-06-07 12:54:43 -07:00
parent f0dd2e348b
commit 9dfab42c0a
17 changed files with 2 additions and 594 deletions

View file

@ -1,19 +0,0 @@
(function() {
/**
* Experiment enable new public repo
*/
angular.module('quayPages').config(['pages', function(pages) {
pages.create('public-repo-exp', 'public-repo-exp.html', ExpCtrl, {
'newLayout': true
});
}]);
function ExpCtrl($scope, CookieService) {
$scope.isEnabled = CookieService.get('quay.public-repo-exp') == 'true';
$scope.setEnabled = function(value) {
$scope.isEnabled = value;
CookieService.putPermanent('quay.public-repo-exp', value.toString());
};
}
}());