Lines Matching refs:to
9 // Unless required by applicable law or agreed to in writing, software
21 // String literals defined globally and not to be inlined. (IE6 perf)
37 * Wrapper for the eval() builtin function to evaluate expressions and
39 * that object literals are really evaluated to objects. Without the
53 // Note that using the square brackets as below, "" evals to undefined.
72 * Copies all properties from second object to the first. Modifies to.
74 * @param {Object} to The target object.
77 function copyProperties(to, from) {
79 to[p] = from[p];
85 * @param {Object|null|undefined} value The possible value to use.
102 * @param {Object|null} value Object to interrogate
115 * @param {Array} array Array to be sliced.
118 * @return {Array} array The slice of the array from start to end.
126 // Array.prototype.slice which causes this function to return an empty list
145 * Clears the array by setting the length property to 0. This usually
146 * works, and if it should turn out not to work everywhere, here would
147 * be the place to implement the browser specific workaround.
149 * @param {Array} array Array to be cleared.
157 * Prebinds "this" within the given method to an object, but ignores all
158 * arguments passed to the resulting function.
164 * @return {Function} Method with the target object bound to it and curried by
211 * @param {Element} node Parent element of the subtree to traverse.
220 * A class to hold state for a dom traversal.
258 * Get an attribute from the DOM. Simple redirect, exists to compress code.
260 * @param {Element} node Element to interrogate.
261 * @param {string} name Name of parameter to extract.
275 * Set an attribute in the DOM. Simple redirect to compress code.
277 * @param {Element} node Element to interrogate.
278 * @param {string} name Name of parameter to set.
279 * @param {string|number} value Set attribute to this value.
286 * Remove an attribute from the DOM. Simple redirect to compress code.
288 * @param {Element} node Element to interrogate.
289 * @param {string} name Name of parameter to remove.
298 * @param {Node} node Node to clone.
303 // NOTE(mesch): we never so far wanted to use cloneNode(false),
310 * @param {Element} element Element to clone.
348 * Appends a new child to the specified (parent) node.
351 * @param {Node} child Child node to append.
359 * Sets display to default.
361 * @param {Element} node The dom element to manipulate.
368 * Sets display to none. Doing this as a function saves a few bytes for
371 * @param {Element} node The dom element to manipulate.
379 * Sets position style attribute to absolute.
381 * @param {Element} node The dom element to manipulate.
391 * @param {Node} newChild Node to insert.
393 * @return {Node} Reference to new child.
402 * @param {Node} newChild New child to append.
403 * @param {Node} oldChild Old child to remove.
413 * @param {Node} node The node to remove.
424 * @param {Node} child Child node to remove.