Commit df09ec08 authored by Sebastian's avatar Sebastian

renderjs-extension: fixed syntax error related to multi-line string

parent c0d081c4
......@@ -99,8 +99,8 @@ def call_declared_method(ref, method_name, *args):
# Only thing passed is the ref of the gadget
def destroy(ref):
from IPython.core.display import display, HTML
script =
'''<script>
script = '''
<script>
var destroy_event = new CustomEvent("destroy_gadget",
{ "detail": { "gadgetId": "''' + ref + '''" }});
var loadingDiv = document.querySelector(".loading_gadget");
......
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