Hi, I'm sorry for the odd replies. I failed to understand how replies work and what actually happens when one deletes a post and the order in which posts are presented. I find google groups badly broken.
I definitely see the advantage of following Luke's suggestion. Thank you for the insights. On Mar 23, 1:00 pm, pnbv <[email protected]> wrote: > Considering a single instance object: > app = { > foo: 'afoo', > bar: 'abar', > > callbackLib: { > replyFoo: function () { > console.log(this.foo); > }, > replyBar: function () { > console.log(app.bar); > } > }, > > doSomeThing: function (){ > this.callbackLib.replyFoo.call(this); > this.callbackLib.replyBar(); > } > > } > > app.doSomeThing(); > > What would be the preferred way of doing this (if there really is a > need for nested objects:)? > Thanks, > pedro -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
