Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Javascript inheritance and auto-complete

Do any of the common forms of _javascript_ inheritance, when used in source code, allow auto complete to show completions which include the superclass' methods/properties?

I've already discovered that the following psudo-class structure works nicely with auto complete:

function Element() {
}

Element.prototype.foo = function(arg) {
}

I'm looking for some guidance as to which form of inheritance I should use to make a project WTP-friendly.

Thanks,

Chris.

Back to the top