Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: _ name prefix for allowEventType
  • Loading branch information
johnbley committed Jul 29, 2020
commit b90c1529759f485aeaba77bcdc694c7ea509867a
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class UserInteractionPlugin extends BasePlugin<unknown> {
/**
* Controls whether or not to create a span, based on the event type.
*/
protected allowEventType(eventType: string): boolean {
protected _allowEventType(eventType: string): boolean {
return eventType === 'click' || eventType === 'dblclick';
}
/**
Expand All @@ -100,7 +100,7 @@ export class UserInteractionPlugin extends BasePlugin<unknown> {
if (element.hasAttribute('disabled')) {
return undefined;
}
if (!this.allowEventType(eventName)) {
if (!this._allowEventType(eventName)) {
return undefined;
}
const xpath = getElementXPath(element, true);
Expand Down