Side navigation
#12918 closed bug (wontfix)
Opened November 19, 2012 03:49PM UTC
Closed November 19, 2012 10:33PM UTC
TypeError: matchExpr[type].exec is not a function
Reported by: | shark@1kdigital.com | 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
if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
jquery-1.8.2.js (line 4717)
Attachments (0)
Change History (2)
Changed November 19, 2012 04:00PM UTC by comment:1
Changed November 19, 2012 10:33PM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | new → closed |
jQuery does not support altering native prototypes. http://docs.jquery.com/Won't_Fix
Sorry, the version is 1.8.2 not 1.8.3.