lib/kissy/5.0.0-alpha.3/build/node-debug.js
function (selector, context, index) {
            if (typeof context === 'number') {
                index = context;
                context = undefined;
            }
            var list = Node.all(selector, context).getDOMNodes(), ret = new Node(this);
            if (index === undefined) {
                push.apply(ret, list);
            } else {
                var args = [
                        index,
                        0
                    ];
                args.push.apply(args, list);
                AP.splice.apply(ret, args);
            }
            return ret;
        }
function (selector, context, index) {
            if (typeof context === 'number') {
                index = context;
                context = undefined;
            }
            var list = Node.all(selector, context).getDOMNodes(), ret = new Node(this);
            if (index === undefined) {
                push.apply(ret, list);
            } else {
                var args = [
                        index,
                        0
                    ];
                args.push.apply(args, list);
                AP.splice.apply(ret, args);
            }
            return ret;
        }
function ( selector , context , index ) { if ( typeof context === 'number' ) { index = context ; context = undefined ; } var list = Node . all ( selector , context ) . getDOMNodes ( ) , ret = new Node ( this ) ; if ( index === undefined ) { push . apply ( ret , list ) ; } else { var args = [ index , 0 ] ; args . push . apply ( args , list ) ; AP . splice . apply ( ret , args ) ; } return ret ; }
return a new Node object which consists of current node list and parameter node list.
@param {KISSY.Node} selector Selector string or html string or common dom node.
@param {KISSY.Node|Number} [context] Search context for selector
@param {Number} [index] Insert position.
@return {KISSY.Node} a new Node
return a new Node object which consists of current node list and parameter node list .