Code style improvement and documentation
This commit is contained in:
parent
957d5b3f02
commit
5f3ee66775
@ -42,7 +42,9 @@ Group = enum.Enum('Group', ['all', 'links', 'images', 'url', 'inputs'])
|
|||||||
SELECTORS = {
|
SELECTORS = {
|
||||||
Group.all: ('a, area, textarea, select, input:not([type=hidden]), button, '
|
Group.all: ('a, area, textarea, select, input:not([type=hidden]), button, '
|
||||||
'frame, iframe, link, [onclick], [onmousedown], [role=link], '
|
'frame, iframe, link, [onclick], [onmousedown], [role=link], '
|
||||||
'[role=option], [role=button], img, [ng-click], [ngClick], [data-ng-click], [x-ng-click]'),
|
'[role=option], [role=button], img, '
|
||||||
|
# Angular 1 selectors
|
||||||
|
'[ng-click], [ngClick], [data-ng-click], [x-ng-click]'),
|
||||||
Group.links: 'a[href], area[href], link[href], [role=link][href]',
|
Group.links: 'a[href], area[href], link[href], [role=link][href]',
|
||||||
Group.images: 'img',
|
Group.images: 'img',
|
||||||
Group.url: '[src], [href]',
|
Group.url: '[src], [href]',
|
||||||
|
Loading…
Reference in New Issue
Block a user