JSHINT error on master

Fix the error that the gate-horizon-jshint is throwing.

horizon/static/horizon/js/horizon.d3linechart.js:
line 760, col 11, 'now' is defined but never used.

Change-Id: I34d3cd38845fc0cc022bd20f1713d99f5cb5a006
Closes-Bug: #1460813
This commit is contained in:
Aaron Sahlin 2015-06-01 15:46:30 -05:00
parent 8f5aaead07
commit 5353741575

View File

@ -757,7 +757,6 @@ horizon.d3_line_chart = {
* connected to charts.
*/
var bind_datepicker_change = function(settings) {
var now = new Date();
horizon.datepickers.add(datepicker_selector);
delegate_event_and_refresh_charts(datepicker_selector, 'changeDate', settings);
};