1
0
Fork 0

Altered $.get() for "Try It" button to prevent execution of example script

website
Mike Gerwitz 2011-12-26 23:31:39 -05:00
parent a667b0f389
commit b072ae3772
1 changed files with 2 additions and 2 deletions

View File

@ -77,10 +77,10 @@
{ {
$txt = $( '<textarea>' ); $txt = $( '<textarea>' );
$.get( 'scripts/ex/class.js', function( data ) $.get( 'scripts/ex/class.js', {}, function( data )
{ {
$txt.text( data ); $txt.text( data );
} ); }, 'html' );
return $trybox = $( '<div>' ) return $trybox = $( '<div>' )
.attr( 'id', 'trybox' ) .attr( 'id', 'trybox' )