Is there anything particularly bad about doing something like this in Javascript:
myapp.someObject = {
this.doSomething = function() {
// stuff happens
.
.
.
//
myapp.someOtherObject.doSomething();
}
}
...That is to say, calling a method in another object, from inside an object. (For example, it might be a convient way to generate a spinner, if there is some content to be loaded.)
Thanks,
Travis