Skip to content

Commit

Permalink
Removed unnessary dependency on underscore.js
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 1, 2016
1 parent bfde7e6 commit fe02563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/widgets/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ SelectionWidget.prototype.get_key = function(current_vals) {
for (var i=0; i<this.slider_ids.length; i++)
{
val = this.current_vals[i];
if (!(_.isString(val))) {
if (!(typeof val === 'string')) {
if (val % 1 === 0) { var fixed = 1;}
else { var fixed = 10;}
val = val.toFixed(fixed)
Expand Down

0 comments on commit fe02563

Please sign in to comment.