Skip to content

Commit

Permalink
Removed comment and console logging from embedded script
Browse files Browse the repository at this point in the history
  • Loading branch information
PokkeFe committed Jun 15, 2021
1 parent 5293b34 commit 030bae3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions text_extensions_for_pandas/jupyter.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,12 @@ def pretty_print_html(column: Union["SpanArray", "TokenSpanArray"],
<script>
{{
{script_text}
// create entry objects and render
const Entry = window.SpanArray.Entry
const render = window.SpanArray.render
const spanArray = [{','.join(span_array)}]
const entries = Entry.fromSpanArray(spanArray, 0)
Entry.updateSets(entries)
const doc_text = `{_get_sanitized_doctext(column)}`
console.log(entries)
render(doc_text, entries, {_spanarray_instance_counter}, true)
}}
</script>
Expand Down

0 comments on commit 030bae3

Please sign in to comment.