Skip to content

Commit 00aea17

Browse files
committed
Fixed lint errors
1 parent 19eda22 commit 00aea17

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

app/directives/distribution-graph/distribution-graph.directive.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
182182

183183
var mousemoveInterval = null
184184

185-
/* render react tooltip component */
185+
/* render react tooltip component */
186186
ReactDOM.unmountComponentAtNode(document.getElementById('chart-tooltip'))
187187
ReactDOM.render(<Tooltip popMethod='click'>
188188
<div className='tooltip-target'></div>
@@ -195,7 +195,7 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
195195
</div>
196196
</Tooltip>
197197
, document.getElementById('chart-tooltip'))
198-
198+
199199
$scope.isFocused = false
200200
svg.selectAll('rect.hover')
201201
.data(ranges)
@@ -218,8 +218,8 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
218218
$scope.highlightedRating = d.start
219219
$scope.displayCoders = true
220220
$scope.numCoders = d.number
221-
222-
/* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
221+
222+
/* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
223223
d3.select('#chart-tooltip')
224224
.style('left', (d3.event.pageX-4) + 'px')
225225
.style('top', (d3.event.pageY-4) + 'px')
@@ -240,12 +240,12 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
240240
$scope.$digest()
241241
})
242242
.on('mousemove', function(d) {
243-
244-
/* update tooltip on mousemove, using interval of 50ms to improve performance */
245-
window.clearTimeout(mousemoveInterval)
243+
244+
/* update tooltip on mousemove, using interval of 50ms to improve performance */
245+
window.clearTimeout(mousemoveInterval)
246246
var left = (d3.event.pageX-4)
247247
var top = (d3.event.pageY-4)
248-
248+
249249
mousemoveInterval = window.setTimeout(function(){
250250
d3.select('#chart-tooltip')
251251
.style('left', left + 'px')

app/directives/history-graph/history-graph.directive.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,8 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
245245
return y
246246
}
247247
}
248-
249-
/* render react tooltip component */
248+
249+
/* render react tooltip component */
250250
ReactDOM.unmountComponentAtNode(document.getElementById('chart-tooltip'))
251251
ReactDOM.render(<Tooltip popMethod='click'>
252252
<div className='tooltip-target'></div>
@@ -283,8 +283,8 @@ import Tooltip from 'appirio-tech-react-components/components/Tooltip/Tooltip.js
283283
else
284284
location.href = $filter('challengeLinks')({id: d.challengeId, 'track': $state.params.track, 'subTrack': $state.params.subTrack}, 'detail')
285285
})
286-
287-
/* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
286+
287+
/* update tooltip location on mouseover, feature currently not inbuilt in react tooltip component */
288288
d3.select('#chart-tooltip')
289289
.style('left', (d3.event.pageX-5) + 'px')
290290
.style('top', (d3.event.pageY-5) + 'px')

0 commit comments

Comments
 (0)