Skip to content

Commit

Permalink
patch fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink committed Aug 28, 2018
1 parent b4156db commit 7594b8b
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 389 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
function $(query, $context = document) {
let $nodes = query instanceof NodeList
? query
: query instanceof HTMLElement
: query instanceof HTMLElement || query instanceof SVGElement
? [query]
: $context.querySelectorAll(query);

Expand Down

0 comments on commit 7594b8b

Please sign in to comment.