This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Description
I've noticed that you use makeArray twice in unhook, has this a more fundamental reason?
$.unhook = function (fns) {
fns = typeof fns === 'string' ?
fns.split(' ') :
$.makeArray(fns) // 1st makeArray
;
jQuery.each( $.makeArray(fns), function (i, method) { // 2nd makeArray
var cur = $.fn[ method ];
if ( cur && cur.__hookold ) {
$.fn[ method ] = cur.__hookold;
}
});
};