Well, I dont think so because in 1.2.1 there is this
Class.extend({
inherit: function(object, properties){
var caller = arguments.callee.caller;
for (var key in properties){
var override = properties[key];
var previous = object[key];
var type = $type(override);
if (previous && type == 'function'){
if (override != previous){
if (caller){
override.__parent = previous;
object[key] = override;
} else {
Class.override(object, key,
override);
}
}
} else if(type == 'object'){
object[key] = $merge(previous, override);
} else {
object[key] = override;
}
}
So mootools is doing it. I think.
On Mar 23, 11:23 am, Ryan Florence <[email protected]> wrote:
> I'm pretty sure __parent is a prototype.js thing.
>
> In MooTools it's just `this.parent()` (in all 1.2.x)
>
> On Mar 23, 2011, at 12:07 PM, vinhboy wrote:
>
>
>
>
>
>
>
> > Hey everyone.
>
> > I am trying to upgrade from 1.2.1 to 1.2.5 (for compatibility with
> > IE9). One of the issue I am running into is that there is no longer a
> > "__parent" (double underscore) method/var that I can use to access the
> > superclass method.
>
> > The only piece of documentation I can find on it is here:
>
> >http://www.effectgames.com/effect/article.psp.html/docs/Object_Orient...
>
> > But I don't totally understand it, so if anyone has some links or an
> > explanation they can share with me I would really appreciate it.
>
> > Thanks