Skip to content

Commit

Permalink
some fixes to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fábio M. Costa committed Feb 20, 2011
1 parent 947a4ff commit 823263e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -34,16 +34,16 @@ note: To build with these pseudo-selectors included do `make build all=true`
How to use
----------

$u('your-selector') -> returns an array of nodes that match the selector
`$u('your-selector')` -> returns an array of nodes that match the selector

Create your own pseudo-class
--------------------------------

$u.pseudo['your-custom-pseudo'] = function(node){
return boolean;
};
$u.pseudo['your-custom-pseudo'] = function(node){
return boolean;
};

It should return true if the passed node fits the behavior of your pseudo. see the [[ "src/uSelectorPseudoClasses.js" ]]
It should return true if the passed node fits the behavior of your pseudo. see the ["src/uSelectorPseudoClasses.js"](https://github.com/fabiomcosta/micro-selector/blob/master/src/uSelectorPseudoClasses.js)

Examples
--------
Expand Down

0 comments on commit 823263e

Please sign in to comment.