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/
>
>

Reply via email to