+12
@@ -0,0 +1,12 @@
|
||||
export default function(selector) {
|
||||
return function() {
|
||||
return this.matches(selector);
|
||||
};
|
||||
}
|
||||
|
||||
export function childMatcher(selector) {
|
||||
return function(node) {
|
||||
return node.matches(selector);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user