Bug with row selectors? 1.10.0-rc.1

Bug with row selectors? 1.10.0-rc.1

arkaine55arkaine55 Posts: 1Questions: 1Answers: 0

Line 7287 of non-min, (function _selector_run), there is a bug.

The function is written so that it can only handle an array of selectors. But it does not ensure that an array is present, it checks for an empty/false selector and changes that to an array of the empty selector... but if a single jQuery class selector is passed as a string (.e.g ".selected") it will try each character as a separate selector and cause an error.

The .length property is defined on strings, arrays, some objects, and can be on custom objects... this is not a good way to determine if something is an array. Also "! selector" can indicate many things...

This discussion has been closed.