After modified Object.prototype, all of jQuery's methods running on selectors started resulting in the below error:
Uncaught TypeError: matchExpr[type].exec is not a function
And also when I call $.post()
. it says that $.post() is not undifined
.
What I did was:
Object.prototype.extend = function(object) {
...
}
What am I missing here?