<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-03 23:48 GMT+01:00 Thomas Kluyver <span dir="ltr"><<a href="mailto:takowl@gmail.com" target="_blank">takowl@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Hi Kiko,<br><br></div><div class=""><div class="gmail_extra">
<div class="gmail_quote">On 3 March 2014 14:05, Kiko <span dir="ltr"><<a href="mailto:kikocorreoso@gmail.com" target="_blank">kikocorreoso@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div></div></div><div>Right now my brython.js is a slight modification of the official brython release. Right now it is just a proof of concept. If it is interesting (I think it is) for the IPython community I can PR my modifications to the official brython repo and then you can use brython.js from a cdn or from the official brython site (<a href="http://brython.info" target="_blank">brython.info</a>) so it wouldn't be necessary to load the js libs locally. </div>


</blockquote></div><br></div></div><div class="gmail_extra">I think it's interesting, and if you think the changes are likely to be accepted back into Brython, go for it.<br><br></div></div></blockquote><div><br></div>
<div>Hi all. Now, brythonmagic uses the official brython js files from the official Brython repo (my modifications have been merged).<br><br></div><div>I would like to know the best way to load the required js libs. I know IPython uses requirejs but I am not experienced with it. <br>
Is it a good way to load the required js libs as I do? See code cell [3] here: <a href="http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/Brython%20usage%20in%20the%20IPython%20notebook.ipynb?create=1#brythonmagic-installation">http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/Brython%20usage%20in%20the%20IPython%20notebook.ipynb?create=1#brythonmagic-installation</a>, <br>
or is there a better and more elegant way?<br><br></div><div>BTW, thanks Paul and Thomas.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"></div><div class="gmail_extra">Best wishes,<br>

Thomas<br></div></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>