(Follow this link to go back to the README file.)
Added support for preceeding sibling conjuction (~
) as in E ~ F
Added support for starts-with attribute comparison operator ([name^=value]
)
Added support for ends-with attribute comparison operator ([name$=value]
)
Added support for contains attribute comparison operator ([name*=value]
)
Fixed bug that prevented Stew from properly parsing selectors containing un-quoted attribute values with colons (e.g., [name=foo:bar]
vs. [name="foo:bar"]
).
Added npm test
, npm run-script compile
and npm run-script slashdot-example
targets.
Added API (using.md
) and developer (hacking.md
) documentation.
Added docco-friendly comments to all coffee files.
Added support for the |=
attribute-comparision-operator.
Added select_first
method to Stew
.
Exported DOMUtil
class to the public. (require('stew-select').DOMUtil
).
Added to_html
and inner_html
methods to DOMUtil
.
Added to_text
and inner_text
methods to DOMUtil
.
Added parse_html
convenience method to DOMUtil
.
Added variants of Stew.select
and Stew.select_first
that accept an HTML string (and invoke a callback).
Extended Stew.select
and Stew.select_first
to invoke a callback method if one is provided.
Documentation updated.
Additional documention.
Minor cleanup of the release package.
stew.select
with a nearly complete CSS selector syntax and regular expressions.