split-selector
Split a CSS selector group into individual parts
Last updated 5 years ago by goto-bus-stop .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install split-selector 
SYNC missed versions from official npm registry.

split-selector

Split a CSS selector group into its individual selectors.

splitSelector('.red, .blue')
  // -> [ '.red', '.blue' ]

splitSelector('a[title="Someday, Somewhere"], strong')
  //-> [ 'a[title="Someday, Somewhere"]', 'strong' ]

License

MIT

Current Tags

  • 1.0.0                                ...           latest (5 years ago)

1 Versions

  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (2)

Copyright 2014 - 2016 © taobao.org |