src/console/simpleyui.js
function(fn, context) {
        var instance = this;
        return Y.Array.some(this._nodes, function(node, index) {
            node = Y.one(node);
            context = context || node;
            return fn.call(context, node, index, instance);
        });
    }
function(fn, context) {
        var instance = this;
        return Y.Array.some(this._nodes, function(node, index) {
            node = Y.one(node);
            context = context || node;
            return fn.call(context, node, index, instance);
        });
    }
function ( fn , context ) { var instance = this ; return Y . Array . some ( this . _nodes , function ( node , index ) { node = Y . one ( node ) ; context = context || node ; return fn . call ( context , node , index , instance ) ; } ) ; }
Executes the function once for each node until a true value is returned.
@method some
@param {Function} fn The function to apply. It receives 3 arguments:
the current node instance, the node's index, and the NodeList instance
@param {Object} context optional An optional context to execute the function from.
Default context is the current Node instance
@return {Boolean} Whether or not the function returned true for any node.
Executes the function once for each node until a true value is returned .