I\'m creating a jQuery plugin that that is rather large in scope. In fact, the plugin technically consists of a few plugins that all work together.
(function($){
Well, I'm sure there are many ways to skin this cat. The jQuery UI library uses a pattern like this:
// initialize a dialog window from an element: $('#selector').dialog({}); // call the show method of a dialog: $('#selector').dialog('show');