Removing the conditional was too liberal as now attr() would even work on plain javascript objects. Keeping a check to make sure it is at least a DOM Node is appropriate. Using nodeName as in the commit which introduced the nodeType === 1 check seems plausible. |
||
---|---|---|
.. | ||
ajax.js | ||
attributes.js | ||
core.js | ||
css.js | ||
data.js | ||
dimensions.js | ||
effects.js | ||
event.js | ||
intro.js | ||
manipulation.js | ||
offset.js | ||
outro.js | ||
queue.js | ||
sizzle-jquery.js | ||
support.js | ||
traversing.js |