diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 006140f2f..3853a8d5f 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -2511,10 +2511,10 @@ function test_jQuery() { $foo.triggerHandler('eventName'); $("div > p").css("border", "1px solid gray"); $("input:radio", document.forms[0]); - var xml: any; + var xml: any; $("div", xml.responseXML); $(document.body).css("background", "black"); - var myForm: any; + var myForm: any; $(myForm.elements).hide(); $('

My new text

').appendTo('body'); $(''); @@ -2537,6 +2537,10 @@ function test_jQuery() { } }).appendTo("body"); jQuery(function ($) { + // Your code using failsafe $ alias here... + }); + jQuery(document).ready(function ($) { + // Your code using failsafe $ alias here... }); }