legacy/$dom.legacy.js
function _sel(selector)
    {
        var f, out = [];
        if (typeof selector == "string")
        {
            while (selector != "")
            {
                f = selector.match(re_selector_fragment);
                if (f[0] == "") return null;
                out.push({ rel: f[1], tag: f[2], uTag: (f[2] || "").toUpperCase(), id: f[3], classes: (f[4]) ? f[4].split(".") : _undefined });
                selector = selector.substring(f[0].length);
            }
        }
        return out;
    }
function _sel(selector)
    {
        var f, out = [];
        if (typeof selector == "string")
        {
            while (selector != "")
            {
                f = selector.match(re_selector_fragment);
                if (f[0] == "") return null;
                out.push({ rel: f[1], tag: f[2], uTag: (f[2] || "").toUpperCase(), id: f[3], classes: (f[4]) ? f[4].split(".") : _undefined });
                selector = selector.substring(f[0].length);
            }
        }
        return out;
    }
function _sel ( selector ) { var f , out = [ ] ; if ( typeof selector == "string" ) { while ( selector != "" ) { f = selector . match ( re_selector_fragment ) ; if ( f [ 0 ] == "" ) return null ; out . push ( { rel : f [ 1 ] , tag : f [ 2 ] , uTag : ( f [ 2 ] || "" ) . toUpperCase ( ) , id : f [ 3 ] , classes : ( f [ 4 ] ) ? f [ 4 ] . split ( "." ) : _undefined } ) ; selector = selector . substring ( f [ 0 ] . length ) ; } } return out ; }
_sel returns an array of simple selector fragment objects from the passed complex selector string
_sel returns an array of simple selector fragment objects from the passed complex selector string