View Full Version : Javascript Polluting DOM

28 Feb 2012, 3:39 PM
Hey Guys,

I've got a pretty big app constructed around the proper Ext4 MVC way of doing things, and apparently somewhere along the way I've caused Ext to drop a whole raw javascript function into every DOM element on the page :-?.

The app itself is far too much code to throw up here (without narrowing my search a bit), but I was wondering if anyone could give me any direction as to where this might be occurring (perhaps based on the function thats being dropped in there itself) or how I might go about tracking this bug down. The function isn't actually anything I've written.

I don't get any errors, and am using Ext 4.0.7 Stable.


Help? (Lols).

28 Feb 2012, 5:42 PM
Looks like a missing quote

28 Feb 2012, 8:05 PM
So what functions operate directly on every single DOM element? I don't have any HTML at all-- its all being generated. Also that function isn't mine...

28 Feb 2012, 8:09 PM
Actually-- don't worry. My fault. Stock function I've added to the Object prototype.