Skip to main content

Bug Tracker

Side navigation

#8604 closed bug (invalid)

Opened March 23, 2011 08:00AM UTC

Closed March 30, 2011 04:46PM UTC

.live have an error?

Reported by: Owned by:
Priority: undecided Milestone:
Component: unfiled Version: 1.5.1
Keywords: Cc:
Blocked by: Blocking:


CHROME 10.0.648.151




mouseAddTower = {

type : 'tower1',

bgc : '#aaf',

range: 60,

cost: 25,

level: 0





Uncaught TypeError: Object function (o) {

for(var i in o){



return this;

} has no method 'replace'








Attachments (0)
Change History (7)

Changed March 23, 2011 08:04AM UTC by anonymous comment:1

It have same problem in jquery 1.4.4??

Maybe I have made an writing error some other place!

But it say the same, some object in jquery dont have 'replace'?

Changed March 23, 2011 04:02PM UTC by addyosmani comment:2

Thanks for submitting a ticket to the jQuery Bug Tracker. In order to assist you further, could you please also submit a reduced test case on that reproduces the issue you are experiencing?

Please also try testing using jQuery-GIT to see if the issue submitted persists.

Changed March 23, 2011 04:02PM UTC by addyosmani comment:3

owner: →
status: newpending

Changed March 24, 2011 07:30AM UTC by comment:4

status: pendingnew

I find the problem:

The .live stop working when you extent the Object prototype?

Changed March 24, 2011 01:26PM UTC by timmywil comment:5

There are a few problems with that fiddle. It is considered taboo to extend any native prototypes. It is best never to do that. Also, there's no selector on that link.

Changed March 24, 2011 02:23PM UTC by comment:6

I have changed the fiddle so there are a selector, but

it still doesn't work.

I know that many people think is a taboo, but Prototype and

other frameworks do it!

Well, I dint know that a had a extension of the Object in my work and have deledet it, but I still think its a bug in jquery.

But if you dont, I will leave it with that :-)

I normally dont use extension native prototype,

I just extend jquery....

Changed March 30, 2011 04:46PM UTC by dmethvin comment:7

resolution: → invalid
status: newclosed

jQuery does not support extending Object.prototype.