Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jupyter_renderjs_extension
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastian
jupyter_renderjs_extension
Commits
e4c4a70f
Commit
e4c4a70f
authored
Mar 07, 2017
by
Sebastian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renderjs-extension: updated function names to comply with standard
parent
4eeaf247
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
renderjs_ipyextension/renderjs_ipyextension/renderjs_extension.py
..._ipyextension/renderjs_ipyextension/renderjs_extension.py
+2
-2
No files found.
renderjs_ipyextension/renderjs_ipyextension/renderjs_extension.py
View file @
e4c4a70f
...
...
@@ -71,7 +71,7 @@ def loadGadget(ref, gadgetUrl):
# * the name of 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
def
call
_declared_m
ethod
(
ref
,
method_name
,
*
args
):
def
call
DeclaredM
ethod
(
ref
,
method_name
,
*
args
):
from
IPython.core.display
import
display
,
HTML
import
json
j_str
=
json
.
dumps
(
args
)
...
...
@@ -95,7 +95,7 @@ def call_declared_method(ref, method_name, *args):
# Fires an event to the destroy this gadget
# Only thing passed is the ref of the gadget
def
destroy
(
ref
):
def
destroy
Gadget
(
ref
):
from
IPython.core.display
import
display
,
HTML
script
=
'''
<script>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment