jquery Programming Glossary: secondconstructor
jQuery OOP basics http://stackoverflow.com/questions/5134208/jquery-oop-basics constructor. This means that all the methods and properties of that parent object are available on the child var SecondConstructor function name this.name name bar inherits SecondConstructor Constructor var obj new SecondConstructor foo obj.mymethod my.. of that parent object are available on the child var SecondConstructor function name this.name name bar inherits SecondConstructor Constructor var obj new SecondConstructor foo obj.mymethod my name is foobar This is JavaScripts prototypical inheritance... on the child var SecondConstructor function name this.name name bar inherits SecondConstructor Constructor var obj new SecondConstructor foo obj.mymethod my name is foobar This is JavaScripts prototypical inheritance. Basically you set the prototype of a function..
|