Well, that does explain it. Is there any reason why the on* methods aren't also options to send()?
Thanks, ~Philip On Thu, Mar 10, 2011 at 3:01 PM, Arian Stolwijk <[email protected]> wrote: > The send method only sets the 'url', 'method' and 'data' options: > https://github.com/mootools/mootools-core/blob/master/Source/Request/Request.js#L156 > > > <https://github.com/mootools/mootools-core/blob/master/Source/Request/Request.js#L156>It > might be an good idea if we would document this though... > > > On Thu, Mar 10, 2011 at 9:46 PM, Philip Thompson > <[email protected]>wrote: > >> http://jsfiddle.net/philthathril/RNvjp/1/ >> >> Why aren't the methods from class B overriding the methods from class A in >> the request object? Is this a bug? >> >> The console should output (IMO): >> requesting B! >> completed B! >> >> but it outputs: >> requesting A! >> completed A! >> >> Happy coding and thanks in advance, >> >> ~Philip >> >> http://www.lonestarlightandsound.com/ >> >> >
