UNPKG

stew-select

Version:

CSS selectors that allow regular expressions. Stew is a meatier soup.

56 lines (28 loc) 1.86 kB
# Stew's Version History and Release Notes *([Follow this link to go back to the README file.](../README.html))* ## Version 0.0.5 - Sunday 9-June-2013 * 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"]`). ## Version 0.0.4 - Friday 7-June-2013 * 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. ## Version 0.0.3 - Sunday 2-June-2013 * 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. ## Version 0.0.2 - Friday 31-May-2013 * Additional documention. * Minor cleanup of the release package. ## Version 0.0.1 - Friday 31-May-2013 * Initial release, includes `stew.select` with a nearly complete CSS selector syntax and regular expressions. *([Follow this link to go back to the README file.](../README.html))*