##// END OF EJS Templates
Merge pull request #13380 from Carreau/deprecate-js...
Matthias Bussonnier -
r27369:35331a37 merge
parent child Browse files
Show More
@@ -36,12 +36,23 b' class DisplayMagics(Magics):'
36 36 """Run the cell block of Javascript code
37 37
38 38 Alias of `%%javascript`
39
40 Starting with IPython 8.0 %%javascript is pending deprecation to be replaced
41 by a more flexible system
42
43 Please See https://github.com/ipython/ipython/issues/13376
39 44 """
40 45 self.javascript(line, cell)
41 46
42 47 @cell_magic
43 48 def javascript(self, line, cell):
44 """Run the cell block of Javascript code"""
49 """Run the cell block of Javascript code
50
51 Starting with IPython 8.0 %%javascript is pending deprecation to be replaced
52 by a more flexible system
53
54 Please See https://github.com/ipython/ipython/issues/13376
55 """
45 56 display(Javascript(cell))
46 57
47 58
General Comments 0
You need to be logged in to leave comments. Login now