From 763c14e77da2c21b34b94e08d74c827ef35b29e9 Mon Sep 17 00:00:00 2001 From: Jon Lambson Date: Wed, 25 Oct 2017 11:26:42 -0600 Subject: [PATCH] removing all debuggers --- js/controllers/website-controller.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/js/controllers/website-controller.js b/js/controllers/website-controller.js index e704e7c..4d8160c 100644 --- a/js/controllers/website-controller.js +++ b/js/controllers/website-controller.js @@ -204,7 +204,6 @@ app.controller('websiteCtrl', [ }); }; vm._uploadFile = function (pkg, opts) { - debugger; vm.newFileUploaded = opts.newFile.name; opts.progress = opts.progress || opts; return pkg.add({ @@ -225,7 +224,6 @@ app.controller('websiteCtrl', [ , strip: opts.stripZip , path: opts.uploadPath }).then(function (result) { - debugger; if (result.data.error) { var msg = vm.newFileUploaded + " has encountered an error. " + result.data.error.message + '.'; } else { @@ -490,7 +488,6 @@ app.controller('websiteCtrl', [ } } requestedPath = cleanPathQuery(requestedPath); - debugger; opts = { path: requestedPath }; @@ -498,7 +495,6 @@ app.controller('websiteCtrl', [ }; vm.Sites.remove = function (r, opts) { - debugger; if (!window.confirm("Delete files for this site?")) { return; } @@ -577,28 +573,22 @@ app.controller('websiteCtrl', [ r.uploadPath = vm.cleanedPath; } else { if (!Array.isArray(vm.breadcrumbsPath)) { - debugger; vm.breadcrumbsPath = vm.breadcrumbsPath.split('/'); vm.breadcrumbsPath.pop(); } else { if (vm.breadcrumbsPath[0] !== '') { if (r.shareAccess.path !== '/') { r.uploadPath = r.shareAccess.path; - debugger; } else { r.uploadPath = r.shareAccess.path; - debugger; } vm.breadcrumbsPath.unshift(''); - debugger; } - debugger; } if (vm.breadcrumbsPath.join('/') === '') { } else { r.uploadPath = vm.breadcrumbsPath.join('/') + '/'; r.uploadPath = cleanPathQuery(r.uploadPath); - debugger; } } vm._uploadFile(pkg, r); @@ -606,7 +596,6 @@ app.controller('websiteCtrl', [ vm.Shares = {}; vm.Shares.invite = function (r, opts) { - debugger; var pkg = Auth.oauth3.pkg('www@daplie.com'); return pkg.invite({ comment: r.shareEmail