Dave Methvin schrieb:
>  
>> // error: f.apply is not a function - jquery.js (line 1166)
>> $(function(){
>>      $(document.createElement('embed'));
>> });
> 
> Looks like a Firefox bug, I don't understand why it's still unfixed after so
> long:
> 
> https://bugzilla.mozilla.org/show_bug.cgi?id=268945
> https://bugzilla.mozilla.org/show_bug.cgi?id=296858
> https://bugzilla.mozilla.org/show_bug.cgi?id=346789
> 
> Since the embed element is erroneously reported as a function, jQuery thinks
> $(document.createElement('embed')) is another call to .ready() with the
> embed element being the function to call. That makes ready method's f.apply
> die because FINALLY Firefox wakes up and notices that it isn't a function.

Maybe thats Mozilla's subtle way to push web developers to use object 
instead.

;-)


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to