On Friday, November 18, 2016 at 12:11:41 PM UTC-8, William Stein wrote:
>
> On Fri, Nov 18, 2016 at 12:06 PM, David Farmer <[email protected] 
> <javascript:>> wrote: 
> > In case it matters, the above jascript is inside a setTimeout, so that 
> it 
> > doesn't run until 
> > after the sage cell code builds the cells on the page.  Probably that is 
> not 
> > the right way 
> > to do it, either. 
>
> That sounds sketchy.  Is there an event that the sage cell library 
> fires when it's done initializing or some callback function you can 
> register?

 
The setup for embedded cells allows for an explicit callback function:

https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst
 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/b45741cd-be73-469c-804e-c69f7c03746c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to