[IPython-dev] container Javascript object not available

Adrian Heilbut aheilbut at gmail.com
Sun Jul 14 03:30:07 EDT 2013


Just an idea.. But container is not defined in the scope where it's called.

On Jul 14, 2013, at 3:25 AM, TARUN GABA <tarun.gaba7 at gmail.com> wrote:

Hi,
I am trying to render some webgls in IPython notebook,
My code is on these lines ..

function Canvas(arg) { this.initialize = function() { container.show();
..... }}

then I call
var new_canvas = new Canvas(arg);
new_canvas.initialize();

I get this error ..
ReferenceError: container is not defined

Any Ideas what might be wrong.

_______________________________________________
IPython-dev mailing list
IPython-dev at scipy.org
http://mail.scipy.org/mailman/listinfo/ipython-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130714/ad96cd4f/attachment.html>


More information about the IPython-dev mailing list