I use to do
var Class1 = Class.create({
...
});
Object.extend(Class1, {
staticProp: '',
staticMeth: function(){...}
})
var Class2 = Class.create(Class1, {
....
});
Object.extend(Class2, {
staticProp: '',
staticMeth: function(){...}
})
Is there a way to inheritate staticProp and staticMeth in inherited
classes automatically?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.