diff options
author | Mike Greiling <mike@pixelcog.com> | 2016-12-13 23:26:26 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2016-12-14 02:11:13 -0600 |
commit | 8e0e902b133f33b38ffaa743ac3f3297b4bceb2d (patch) | |
tree | 6f35057e1dcf2de5c959d7007986b72c23dfb948 /app/assets/javascripts/importer_status.js | |
parent | 23f5865e184c1738df86893d31392faf4bc2bad7 (diff) | |
download | gitlab-ce-8e0e902b133f33b38ffaa743ac3f3297b4bceb2d.tar.gz |
resolve all instances of no-undef eslint rule violationsclean-no-undef
Diffstat (limited to 'app/assets/javascripts/importer_status.js')
-rw-r--r-- | app/assets/javascripts/importer_status.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/importer_status.js b/app/assets/javascripts/importer_status.js index 9425b6ed9d4..fa795be07ed 100644 --- a/app/assets/javascripts/importer_status.js +++ b/app/assets/javascripts/importer_status.js @@ -1,6 +1,7 @@ -/* eslint-disable func-names, space-before-function-paren, wrap-iife, camelcase, no-var, one-var, one-var-declaration-per-line, prefer-template, quotes, object-shorthand, comma-dangle, no-unused-vars, prefer-arrow-callback, no-else-return, padded-blocks, vars-on-top, no-new, no-undef, max-len */ +/* eslint-disable func-names, space-before-function-paren, wrap-iife, camelcase, no-var, one-var, one-var-declaration-per-line, prefer-template, quotes, object-shorthand, comma-dangle, no-unused-vars, prefer-arrow-callback, no-else-return, padded-blocks, vars-on-top, no-new, max-len */ + (function() { - this.ImporterStatus = (function() { + window.ImporterStatus = (function() { function ImporterStatus(jobs_url, import_url) { this.jobs_url = jobs_url; this.import_url = import_url; @@ -75,7 +76,7 @@ var jobsImportPath = $('.js-importer-status').data('jobs-import-path'); var importPath = $('.js-importer-status').data('import-path'); - new ImporterStatus(jobsImportPath, importPath); + new window.ImporterStatus(jobsImportPath, importPath); } }); }).call(this); |