Created
May 17, 2010 07:36
-
-
Save GarrettS/403497 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- return !!(node && method in node && node[method].apply); | |
1079 + return !!(node && method in node && | |
1080 + (typeof node[method] === 'function' || | |
1081 + String(node[method]).indexOf('function') === 1)); // IE reports as object, prepends space |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment