Commit e4c4a70f authored by Sebastian's avatar Sebastian

renderjs-extension: updated function names to comply with standard

parent 4eeaf247
...@@ -71,7 +71,7 @@ def loadGadget(ref, gadgetUrl): ...@@ -71,7 +71,7 @@ def loadGadget(ref, gadgetUrl):
# * the name of the declared_method # * the name of the declared_method
# * the arguments to be passed to the declared_method # * the arguments to be passed to the declared_method
# The arguments are packed into a json string and passed to js as such # The arguments are packed into a json string and passed to js as such
def call_declared_method(ref, method_name, *args): def callDeclaredMethod(ref, method_name, *args):
from IPython.core.display import display, HTML from IPython.core.display import display, HTML
import json import json
j_str = json.dumps(args) j_str = json.dumps(args)
...@@ -95,7 +95,7 @@ def call_declared_method(ref, method_name, *args): ...@@ -95,7 +95,7 @@ def call_declared_method(ref, method_name, *args):
# Fires an event to the destroy this gadget # Fires an event to the destroy this gadget
# Only thing passed is the ref of the gadget # Only thing passed is the ref of the gadget
def destroy(ref): def destroyGadget(ref):
from IPython.core.display import display, HTML from IPython.core.display import display, HTML
script = ''' script = '''
<script> <script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment