mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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
18 lines
200 B
JavaScript
18 lines
200 B
JavaScript
class A {
|
|
constructor(delegate) {
|
|
this.property1 = 1;
|
|
this._property2 = 2;
|
|
}
|
|
|
|
get getter() {
|
|
return null;
|
|
}
|
|
|
|
async method(foo, bar) {
|
|
}
|
|
}
|
|
|
|
A.Events = {
|
|
AnEvent: 'anevent'
|
|
};
|