On May 26, 2006, at 2:03 AM, Johan Sundström wrote:
I then tried:
doSimpleXMLHttpRequest(pathtoxml).addCallback( MyA.cleanXML );
MyA.cleanXML won't carry MyA along as the this object. Try bind(
MyA.cleanXML, MyA ) instead of plain MyA.cleanXML. (Untested; I hope I
got the parameter order
mochikit doesn't feature a class-emulation kit per se, as other
frameworks does. personally i think this is a good thing.
I use a variant of the technique described here:
http://www.itsalleasy.com/2006/02/24/classjs-third-time-is-the-charm/
For some reading/discussion on the subject, I suggest
On May 25, 2006, at 9:33 PM, Will wrote:
I've been using Mochikit for some time to do simple stuff, but I am
now
trying to work it into my prototypes (small p)/classes, but the I am
having some trouble with what this references, and it also seems
like
there are a whole bunch of tools
Thanks for both of these posts. Off to read.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
MochiKit group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email
Know what? I'm glad to say that after reading through the links, I think
I am already pretty much up to speed on most things discussed. Some of
the fancier construction techniques, those trying to address multiple
inheritance were advanced. But I'm familiar with prototype object
construction and
I then tried:
doSimpleXMLHttpRequest(pathtoxml).addCallback( MyA.cleanXML );
MyA.cleanXML won't carry MyA along as the this object. Try bind(
MyA.cleanXML, MyA ) instead of plain MyA.cleanXML. (Untested; I hope I
got the parameter order right there.)
--
/ Johan Sundström,