Paul McLanahan schrieb:
> jQuery.gEval = function(data){
>       if(window.execScript) // msie
>               window.execScript(data);
>       else if(jQuery.browser.safari) // safari
>               window.setTimeout(data,0);
>       else // all others
>               eval.call( window, data );
> }
>
> What do you guys think? Works in all my tests so far, but again, I
> don't have SVN access here so.... I'm SOL as far as the sweet new test
> suite goes.
>   
Looks good for me. We should note somewhere that the evaluation is 
asynchronous for Safari. If anyone actually happens to stumble about 
that problem, it's nice to have it documented.

Could you please check Safari 2.x? It would be nice to use eval.call() 
if possible...

-- 
Jörn Zaefferer

http://bassistance.de


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

Reply via email to