Brought back jQuery.globalEval(), fixing bug #1425.
This commit is contained in:
parent
4ae80a1e2c
commit
6b0d3bb273
2 changed files with 17 additions and 2 deletions
|
@ -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" )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue