diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-11 02:02:20 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-19 02:16:41 +0300 |
commit | ccada28f30326262b61638edf77b7ab163ff59a0 (patch) | |
tree | 0cc73dc1d9d93521ccbcf1830bc51424799cb3fa /app/assets/javascripts/profile/gl_crop.js.es6 | |
parent | e7b5945c591bcd55911f495635f2f852946bd228 (diff) |
resolve all padded-blocks eslint violations
Diffstat (limited to 'app/assets/javascripts/profile/gl_crop.js.es6')
-rw-r--r-- | app/assets/javascripts/profile/gl_crop.js.es6 | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/profile/gl_crop.js.es6 b/app/assets/javascripts/profile/gl_crop.js.es6 index 449d747e7fe..42e9847af91 100644 --- a/app/assets/javascripts/profile/gl_crop.js.es6 +++ b/app/assets/javascripts/profile/gl_crop.js.es6 @@ -1,14 +1,12 @@ -/* eslint-disable no-useless-escape, max-len, padded-blocks, quotes, no-var, no-underscore-dangle, func-names, space-before-function-paren, no-unused-vars, no-return-assign, object-shorthand, one-var, one-var-declaration-per-line, comma-dangle, consistent-return, class-methods-use-this, new-parens */ +/* eslint-disable no-useless-escape, max-len, quotes, no-var, no-underscore-dangle, func-names, space-before-function-paren, no-unused-vars, no-return-assign, object-shorthand, one-var, one-var-declaration-per-line, comma-dangle, consistent-return, class-methods-use-this, new-parens */ ((global) => { - // Matches everything but the file name const FILENAMEREGEX = /^.*[\\\/]/; class GitLabCrop { constructor(input, { filename, previewImage, modalCrop, pickImageEl, uploadImageBtn, modalCropImg, exportWidth = 200, exportHeight = 200, cropBoxWidth = 200, cropBoxHeight = 200 } = {}) { - this.onUploadImageBtnClick = this.onUploadImageBtnClick.bind(this); this.onModalHide = this.onModalHide.bind(this); this.onModalShow = this.onModalShow.bind(this); @@ -170,5 +168,4 @@ return $(this).data('glcrop', new GitLabCrop(this, opts)); }); }; - })(window.gl || (window.gl = {})); |