Skip to content

Commit

Permalink
fix #1529
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Skov Madsen authored and Marc Skov Madsen committed Aug 22, 2020
1 parent e5a0729 commit ce3afc4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion panel/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ def require_components():

from bokeh.model import Model
for qual_name, model in Model.model_class_reverse_map.items():
if qual_name.split(".")[0] == "panel":
# We need to enable Models from Panel as well as Panel extensions
# like awesome_panel_extensions.
# The Bokeh models do not have "." in the qual_name
if "." in qual_name:
js_requires.append(model)

for export, js in config.js_files.items():
Expand Down

0 comments on commit ce3afc4

Please sign in to comment.