Differences

This shows you the differences between two versions of the page.

oojavascript [2010/05/03 15:57]
admin ChildClass.prototype.constructor = ChildClass; not necessary
oojavascript [2010/05/03 17:11] (current)
admin old revision restored
Line 60: Line 60:
 */  */
ChildClass.prototype = new MyClass(); ChildClass.prototype = new MyClass();
 +ChildClass.prototype.constructor = ChildClass;
function ChildClass(childInitValue) { function ChildClass(childInitValue) {
 
oojavascript.txt · Last modified: 2010/05/03 17:11 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki