/**
* @module node
* @submodule node-deprecated
* @deprecated
*/
/*
* Flat data store for off-DOM usage
* @config data
* @type any
* @for Node
*/
getter: function() {
return this._dataVal;
},
return val;
},
value: null
};
/**
* Returns a single Node instance bound to the node or the
* first element matching the given selector.
* @method get
* @for YUI
* @deprecated Use Y.one
* @static
* @param {String | HTMLElement} node a node or Selector
* @param {Node | HTMLElement} doc an optional document to scan. Defaults to Y.config.doc.
*/
/**
* Returns a single Node instance bound to the node or the
* first element matching the given selector.
* @method get
* @for Node
* @deprecated Use Y.one
* @static
* @param {String | HTMLElement} node a node or Selector
* @param {Node | HTMLElement} doc an optional document to scan. Defaults to Y.config.doc.
*/
};
/**
* Retrieves a Node instance of nodes based on the given CSS selector.
* @method query
* @deprecated Use one()
* @param {string} selector The CSS selector to test against.
* @return {Node} A Node instance for the matching HTMLElement.
*/
},
/**
* Retrieves a nodeList based on the given CSS selector.
* @method queryAll
* @deprecated Use all()
* @param {string} selector The CSS selector to test against.
* @return {NodeList} A NodeList instance for the matching HTMLCollection/Array.
*/
},
/**
* Applies the given function to each Node in the NodeList.
* @method each
* @deprecated Use NodeList
* @param {Function} fn The function to apply
* @param {Object} context optional An optional context to apply the function with
* Default context is the NodeList instance
* @chainable
*/
},
/**
* Retrieves the Node instance at the given index.
* @method item
* @deprecated Use NodeList
*
* @param {Number} index The index of the target Node.
* @return {Node} The Node instance at the given index.
*/
return this;
},
/**
* Returns the current number of items in the Node.
* @method size
* @deprecated Use NodeList
* @return {Int} The number of items in the Node.
*/
size: function() {
}
});