Last active
August 11, 2022 16:11
-
-
Save lstanard/6581721 to your computer and use it in GitHub Desktop.
JavaScript Design Pattern: jQuery Plugin Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$.fn.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