Monday, 2 September 2013

About failsafe jQuery code

About failsafe jQuery code

I am confusing with following code. Are they do the same thing and all
failsafe code? In my guess the second and third are not failsafe code. Am
I right?
jQuery(function ($) {
});
----------------------------------
$(function ($) {
});
-----------------------------------
$(document).ready(function ($) {
});
----------------------------------
jQuery(document).ready(function ($) {
});

No comments:

Post a Comment