diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-01-11 01:54:56 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-01-19 02:15:27 +0300 |
commit | e7b5945c591bcd55911f495635f2f852946bd228 (patch) | |
tree | fe9aab0029921dafd1f5a4f136256bae3f702f0f /app/assets/javascripts/users/calendar.js | |
parent | 9e4d04913ab9267d4a59df4d7feafd97b8117fe7 (diff) |
resolve all semi and no-extra-semi eslint violations
Diffstat (limited to 'app/assets/javascripts/users/calendar.js')
-rw-r--r-- | app/assets/javascripts/users/calendar.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/users/calendar.js b/app/assets/javascripts/users/calendar.js index 8979dbe203f..e12506e7d3c 100644 --- a/app/assets/javascripts/users/calendar.js +++ b/app/assets/javascripts/users/calendar.js @@ -1,4 +1,4 @@ -/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, camelcase, vars-on-top, semi, keyword-spacing, object-shorthand, comma-dangle, eqeqeq, no-mixed-operators, no-return-assign, newline-per-chained-call, prefer-arrow-callback, consistent-return, one-var, one-var-declaration-per-line, prefer-template, quotes, no-unused-vars, no-else-return, padded-blocks, max-len */ +/* eslint-disable func-names, space-before-function-paren, no-var, space-before-blocks, prefer-rest-params, wrap-iife, camelcase, vars-on-top, keyword-spacing, object-shorthand, comma-dangle, eqeqeq, no-mixed-operators, no-return-assign, newline-per-chained-call, prefer-arrow-callback, consistent-return, one-var, one-var-declaration-per-line, prefer-template, quotes, no-unused-vars, no-else-return, padded-blocks, max-len */ /* global d3 */ /* global dateFormat */ @@ -20,7 +20,7 @@ this.timestampsTmp = []; var group = 0; - var today = new Date() + var today = new Date(); today.setHours(0, 0, 0, 0, 0); var oneYearAgo = new Date(today); @@ -74,7 +74,7 @@ } return extraWidthPadding; - } + }; Calendar.prototype.renderSvg = function(group) { var width = (group + 1) * this.daySizeWithSpace + this.getExtraWidthPadding(group); |