Brought back jQuery.globalEval(), fixing bug #1425.

This commit is contained in:
John Resig 2007-07-31 02:59:53 +00:00
parent 4ae80a1e2c
commit 6b0d3bb273
2 changed files with 17 additions and 2 deletions

View file

@ -765,7 +765,7 @@ jQuery.extend({
// If the type is "script", eval it in global context
if ( type == "script" )
(new Function( data ))();
jQuery.globalEval( data );
// Get the JavaScript object, if JSON is used.
if ( type == "json" )