src code

class method Selector.split

Selector.split(expression) → [String…]

Takes a string of CSS selectors separated by commas; returns an array of individual selectors.

Safer than doing a naive Array#split, since selectors can have commas in other places.