Browse files

README updates

  • Loading branch information...
1 parent eeff9f9 commit 05598beb6fe2b3b8db533e5604eb7640b7cc6039 @madrobby madrobby committed May 8, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.rdoc
@@ -51,6 +51,7 @@ Context and .find calls are equivalent:
index('selector'): the position of element matching 'selector' in the current collection
first(): new collection containing only the first matched element
last(): new collection containing only the last matched element
+ add(): merges collections of elements
find('selector'): find all children/grandchildren that match the given selector
closest('selector'): find the first matching element by going upwards starting from the current element
@@ -71,6 +72,7 @@ Context and .find calls are equivalent:
text('new text'): set the text contents of the element(s)
append, prepend, before, after: like html(), but add html (or a DOM Element or a Zepto object) to element contents (or before/after)
+ appendTo, prependTo: reverse appending/prepending
html(): get first element's .innerHTML
text(): get first element's .innerText
show(): forces elements to be displayed (only works correctly for block elements right now)
@@ -275,6 +277,7 @@ Checklist for submitting patches:
* Always, always, always update the tests. All tests must pass.
* Write concise code.
* Don't add more than one feature or bug fix per pull request.
+* Run `rake whitespace` to clean up whitespace in code & tests
* Use Github's pull request system to submit patches
If you submit patches, please include tests.

0 comments on commit 05598be

Please sign in to comment.