When the krpano interface object is referenced from inside a registerplugin call, it's a bit different, as variables and certain methods can be accessed directly, like krpano.myvar (defined in the initvars for example). However when referenced from the onReady callback, it's necessary to use the call/get/set etc. methods.
Is it possible to get the first type of interface object without setting up a plugin, and defining the registerplugin method?
EDIT: after some testing looks like in the onReady callback sometimes the object is of the first type, and sometimes the other. I assume it depends on how fast or in what order some things play out in real time when the page loads, but would be nice if you could shed some light on this to know for sure.