search for: targetobj

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

2006 Feb 10
8
Prototype Inheritance example
...llback = loadCallback; this.saveCallback = saveCallback; .... }, Save: function() { //do save operation using options } }; MyControls.EditableTextBox = Class.create(); Object.extend(MyControls.EditableTextBox.prototype, MyControls.TextBox.prototype), { initialize: function(targetObj, loadCallback, saveCallBack, options) { this.baseInitialize(loadCallback, saveCallback); }, Update: function() { this.Save(); } } _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http:/...