eligrey / mutaprophylaxis

Methods for preventing unauthorized DOM mutations
Other
11 stars 1 forks source link

Impossible to use ESE version #2

Closed notmasteryet closed 14 years ago

notmasteryet commented 14 years ago

Syntax error in http://github.com/eligrey/mutaprophylaxis/blob/master/mutaprophylaxis-ese.js#L109

And document.getElementById example is invalid: returns null if script is included in the header

eligrey commented 14 years ago

I don't see a syntax error there. I guess you mean a type error. I will fix that shortly. Also, the ESE version isn't meant to be included in the header; it's mean to be included directly after the node(s) you want to protect. I'll make sure to mention that in the readme.

eligrey commented 14 years ago

Fixed.