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/build.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/build.js')
-rw-r--r-- | app/assets/javascripts/build.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/javascripts/build.js b/app/assets/javascripts/build.js index 116a47b0907..824febe3fd3 100644 --- a/app/assets/javascripts/build.js +++ b/app/assets/javascripts/build.js @@ -1,4 +1,7 @@ -/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, no-use-before-define, no-param-reassign, no-undef, quotes, yoda, no-else-return, consistent-return, comma-dangle, semi, object-shorthand, prefer-template, one-var, one-var-declaration-per-line, no-unused-vars, max-len, vars-on-top, padded-blocks, max-len */ +/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, no-use-before-define, no-param-reassign, quotes, yoda, no-else-return, consistent-return, comma-dangle, semi, object-shorthand, prefer-template, one-var, one-var-declaration-per-line, no-unused-vars, max-len, vars-on-top, padded-blocks */ +/* global Breakpoints */ +/* global Turbolinks */ + (function() { var bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; @@ -193,6 +196,7 @@ }; Build.prototype.stepTrace = function(e) { + var $currentTarget; e.preventDefault(); $currentTarget = $(e.currentTarget); $.scrollTo($currentTarget.attr('href'), { |