Showing posts with label call. Show all posts
Showing posts with label call. Show all posts

Tuesday, July 20, 2010

Calling super class method in javascript

In order to call super class's method, do this:
ClassName.prototype.method.call(this);
where "this" is the child object.