EDIT: Seems to be an async thing. I'm calling the sagecellInfo.code too early. I could set a callback function in makeSagecell. But how can I access the sagecellInfo just created from there?
Indeed it is because of asynchronous calls. I imagine that if you create a variable to make it available inside your call back function and then call makeSagecell with a callback argument, you will have access to it.
Why do I see a
sagecellInfo
content but having no access to it?EDIT: Seems to be an async thing. I'm calling the
sagecellInfo.code
too early. I could set acallback
function inmakeSagecell
. But how can I access thesagecellInfo
just created from there?