Opened 11 years ago
Closed 11 years ago
#12918 closed bug (wontfix)
TypeError: matchExpr[type].exec is not a function
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
<script src="js/jquery-1.8.2.js"></script> <script> Object.prototype.mergeObjects = function() { return this; } ... myObject.mergeObjects(otherObject); </script>
This will produce error:
TypeError: matchExpr[type].exec is not a function
jquery-1.8.2.js (line 4717)
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
jQuery does not support altering native prototypes. http://docs.jquery.com/Won't_Fix
Note: See
TracTickets for help on using
tickets.
Sorry, the version is 1.8.2 not 1.8.3.