##// END OF EJS Templates
Register init_widget_js...
Jonathan Frederic -
Show More
@@ -1,4 +1,4 b''
1 from widget import Widget
1 from widget import Widget, init_widget_js
2
2
3 from container import ContainerWidget
3 from container import ContainerWidget
4 from float_range import FloatRangeWidget
4 from float_range import FloatRangeWidget
@@ -13,7 +13,7 b' from IPython.display import Javascript, display'
13 from IPython.utils.py3compat import string_types
13 from IPython.utils.py3compat import string_types
14 from IPython.utils.javascript import display_all_js
14 from IPython.utils.javascript import display_all_js
15
15
16 def init_widget_js(cls):
16 def init_widget_js():
17 path = os.path.split(os.path.abspath( __file__ ))[0]
17 path = os.path.split(os.path.abspath( __file__ ))[0]
18 display_all_js(path)
18 display_all_js(path)
19 for root, dirs, files in os.walk(path):
19 for root, dirs, files in os.walk(path):
General Comments 0
You need to be logged in to leave comments. Login now