I have seen several different approaches to creating jQuery (-namespaced) functions, but I cannot say about the actual difference between them.
jQuery.fn.myFunction = function() { ... };
jQuery.myFunction = function() { ... };
jQuery.fn.extend({ myFunction: function() { ... } });
source share