6c9a99477b
This patch: - gives meaningful names to doclint tests - supports classes inheritance in documentation linter. When class A extends class B, all methods of class B are added to documentation of class A. This is a prerequisite for Object Handles: ElementHandle will be extending ObjectHandle. References #382
21 lines
195 B
JavaScript
21 lines
195 B
JavaScript
class A {
|
|
constructor() {
|
|
}
|
|
|
|
foo(a) {
|
|
}
|
|
|
|
bar() {
|
|
}
|
|
}
|
|
|
|
class B extends A {
|
|
bar(override) {
|
|
}
|
|
}
|
|
|
|
B.Events = {
|
|
// Event with the same name as a super class method.
|
|
foo: 'foo'
|
|
};
|