I've been looking at how some jQuery plugins work and I've seen the following acting as a closure around the whole plugin
$(function(){
// plugin code here
});
(function($){
// plugin code here
})(jQuery);
What is the difference between these two ?