Skip to content

Instantly share code, notes, and snippets.

@badsyntax
Created June 7, 2010 15:06
Show Gist options
  • Save badsyntax/428777 to your computer and use it in GitHub Desktop.
Save badsyntax/428777 to your computer and use it in GitHub Desktop.
// jQuery UI - Extending the base widget class
// create new base widget class
$.widget('ui.chunk');
// class definition
$.extend($.ui.chunk.prototype, {
//
});
// create a new widget class based on base class
$.widget('ui.chunkPlugin', $.ui.chunk, {
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment