Skip to content

Commit

Permalink
Ensured callbacks are robust to missing underscore.js
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jul 1, 2016
1 parent fe02563 commit 5c2b39b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/callbacks.py
Expand Up @@ -105,7 +105,7 @@ class Callback(param.ParameterizedFunction):
}}
timeout = HoloViewsWidget._timeout + {timeout};
if (_.isEmpty(data)) {{
if ((typeof _ === "undefined") || _.isEmpty(data)) {{
}} else if ((HoloViewsWidget._blocked && (Date.now() < timeout))) {{
HoloViewsWidget._queued = [data];
}} else {{
Expand Down

0 comments on commit 5c2b39b

Please sign in to comment.