search for: explicitsuperctor

Displaying 1 result from an estimated 1 matches for "explicitsuperctor".

2005 Sep 25
1
Prototype "classes" and inheritance
...uperMethod = destination[property]; if (superMethod && typeof superMethod == ''function'') { destination[''_super_'' + property] = superMethod; } destination[property] = source[property]; } if (ctorStyle && ctorStyle != ''explicitSuperCtor'') { var _derived_initialize = destination.initialize; var _super_initialize = destination._super_initialize; destination[''initialize''] = function() { _super_initialize.apply(this, arguments); _derived_initialize.apply(this, arguments); } de...