search for: superinitargs

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

2005 Sep 25
1
Prototype "classes" and inheritance
...destination[''initialize''] = function() { _super_initialize.apply(this, arguments); _derived_initialize.apply(this, arguments); } delete destination._super_initialize; } return destination; } testObject_extend_with_super: function() { with(this) { var superInitArgs, method1Args, method2Args; var Super = Class.create(); Super.prototype = { initialize: function() { superInitArgs = arguments; }, method1: function() { method1Args = arguments; }, method2: function() { method2Args = arguments; }...