Skip to content

Instantly share code, notes, and snippets.

@vanaf1979
Created July 16, 2017 13:35
Show Gist options
  • Save vanaf1979/c998b2cd38ccca26259ebc07169a2346 to your computer and use it in GitHub Desktop.
Save vanaf1979/c998b2cd38ccca26259ebc07169a2346 to your computer and use it in GitHub Desktop.
Find a group of ellements
function findAll( selector , context = null )
{
return ( context || document ).querySelectorAll( selector );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment