Differences between 2 pieces of code (jQuery.extend)
Hi there again,
following my last topic, I have another doubt that is more or less the
same...
Besides syntax, is there a difference between this:
(function($){
$.extend({
A: {
abc: function() { alert("ABC"); }
}
});
})(jQuery);
And this:
(function($){
$.A = {
abc: function() { alert("ABC"); }
}
})(jQuery);
?