Is there any shorthand for this?
(function($) {
$.fn.DoStuff= function() {
// do stuff
};
})(jQuery);
This will be placed in separate file.
And than to be called like that from another file from inside $(document).ready( function(){});:
$('element').DoStuff();
?
you could write a jQuery plugin, e.g.
here’s working example: http://jsfiddle.net/xW3ZD/