mirror of https://github.com/hashicorp/consul
6 lines
131 B
JavaScript
6 lines
131 B
JavaScript
|
export default function(doc = document) {
|
||
|
return function(sel, context = doc) {
|
||
|
return context.querySelectorAll(sel);
|
||
|
};
|
||
|
}
|