This file contains 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
// This is a simple function to get all the attached jquery events on all the DOM elements | |
// you will find a new data attribute on the elements that has events attached to it. | |
(function() { | |
if (window.jQuery) { | |
var elms = [], | |
elm = {}, | |
attrs = "", | |
evTypes = 0, | |
evCounter = 0, | |
elmCounter = 0, |
This file contains 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
function getType(o){ | |
return Object.prototype.toString.call(o).split(' ').pop().replace(']','').toLowerCase(); | |
} |