Closed notmasteryet closed 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.
Fixed.
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