MCPcopy Create free account
hub / github.com/ipython/ipython / js

Method js

IPython/core/magics/display.py:35–40  ·  view source on GitHub ↗

Run the cell block of Javascript code Alias of `%%javascript`

(self, line, cell)

Source from the content-addressed store, hash-verified

33
34 @cell_magic
35 def js(self, line, cell):
36 """Run the cell block of Javascript code
37
38 Alias of `%%javascript`
39 """
40 self.javascript(line, cell)
41
42 @cell_magic
43 def javascript(self, line, cell):

Callers

nothing calls this directly

Calls 1

javascriptMethod · 0.95

Tested by

no test coverage detected