X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcore.js;h=2b856c8dda439c1bb424cea5bdfb988acffcfbaf;hb=9bcd2b370b4aa72cc60af85d0f8a0872d0d17a0a;hp=b5a1c7072030a85dda77baf3472d9f63f2d7badb;hpb=05930c5a0d667c024c9acd0d087be846990fdcea;p=jquery.git diff --git a/src/core.js b/src/core.js index b5a1c70..2b856c8 100644 --- a/src/core.js +++ b/src/core.js @@ -599,8 +599,7 @@ jQuery.extend({ return jQuery; }, - // This may seem like some crazy code, but trust me when I say that this - // is the only cross-browser way to do this. --John + // See test/unit/core.js for details concerning this function. isFunction: function( fn ) { return !!fn && typeof fn != "string" && !fn.nodeName && fn.constructor != Array && /function/i.test( fn + "" );