From 35fcdfd874aad6b97c011efd5cf3bfabfb794be5 Mon Sep 17 00:00:00 2001 From: etimberg Date: Fri, 11 Jan 2019 19:27:49 -0500 Subject: [PATCH] More minification --- src/controllers/controller.line.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controllers/controller.line.js b/src/controllers/controller.line.js index d68c0a92802..14f55c3c975 100644 --- a/src/controllers/controller.line.js +++ b/src/controllers/controller.line.js @@ -328,8 +328,9 @@ module.exports = DatasetController.extend({ radius: model.radius }; - model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, helpers.getHoverColor(options.backgroundColor)); - model.borderColor = valueOrDefault(options.hoverBorderColor, helpers.getHoverColor(options.borderColor)); + var getHoverColor = helpers.getHoverColor; + model.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor)); + model.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor)); model.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth); model.radius = valueOrDefault(options.hoverRadius, options.radius); },