split-css-selector
Split a comma separated CSS selector list into an array of selectors
Installation
Install split-css-selector
using npm:
npm install --save split-css-selector
Usage
Module usage
var splitCssSelector = ; ;// ['.class', '.class2']
See test/test.js for more examples.
API
splitSelectors(selectors)
Name | Type | Description |
---|---|---|
selectors | String |
The list of selectors to split |
Returns: Array
License
MIT © Joakim Carlstein