Skip to content

Instantly share code, notes, and snippets.

@lstanard
Created September 16, 2013 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lstanard/6581793 to your computer and use it in GitHub Desktop.
Save lstanard/6581793 to your computer and use it in GitHub Desktop.
JavaScript Design Pattern: jQuery Plugin Template without Selector
;(function($){
$.pluginName = function(options) {
var settings = $.extend({
'option': 'value'
}, options||{} );
}
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment