Comments on: Attack of the cloneNodes
http://www.weaselhat.com/2007/03/31/js-clonenode/
Wed, 16 Apr 2008 09:21:23 +0000
hourly
1 https://wordpress.org/?v=6.3.2
By: adriano
http://www.weaselhat.com/2007/03/31/js-clonenode/comment-page-1/#comment-334
Wed, 16 Apr 2008 09:21:23 +0000http://www.weaselhat.com/2007/03/31/js-clonenode/#comment-334guy. you rock. seriously. thank you a lot
]]>
By: Michael Greenberg
http://www.weaselhat.com/2007/03/31/js-clonenode/comment-page-1/#comment-257
Mon, 01 Oct 2007 14:49:32 +0000http://www.weaselhat.com/2007/03/31/js-clonenode/#comment-257Andreas Eibach pointed out that this definition was missing:
/**
* Determines whether o is a DOM object.
*
* @param o A value to test
* @param {Boolean} True if o is a DOM object
*/
function dom_obj(o) {
return typeof o == 'object' && (o instanceof Node || o.nodeType > 0);
}