Skip to content
/ grasp.js Public

Yet Another JavaScript CSS Selector Engine, probably the worst one ;-)

License

Notifications You must be signed in to change notification settings

pycka/grasp.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 Grasp.js
 
 -- Yet Another JavaScript CSS Selector Engine --

                                 by Radosław Pycka
 

Uses basic DOM traversing methods (unoptimized, yet), seriously unready for production - use great Sizzle instead ;-)
Written by JavaScript newbie to get a hold of the language and surrounding environment. 

 

1) License: MIT (see LICENSE file)

2) Usage: grasp(cssSelector [, context]) = [found nodes]
	
	where:
	- context (optional) - node or array of nodes (NodeList counts too)

3) Features: most of CSS 2.1 selectors + general sibling

4) Compatibility: IE6+, rest of the world

About

Yet Another JavaScript CSS Selector Engine, probably the worst one ;-)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published