Erik Beeson schrieb:
> At some point, it appears that window (as in, the JS object) gets run
> through the setArray function that metadata overloads. The window
> object doesn't have getElementsByTagName, so when I've done
> $.meta.setType("elem", "script"), I get:
> this.getElementsByTagName is not a function
> [Break on this error] var e = this.getElementsByTagName($.meta.name);
>
> Adding a check for getElementsByTagName fixed it:
> } else if ( $.meta.type == "elem" ) {
> if( !this.getElementsByTagName ) return; // Added this
> var e = this.getElementsByTagName($.meta.name);
Fixed in SVN. I added a test and the fix you proposed.
--
Jörn Zaefferer
http://bassistance.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/