Guest User

Untitled

a guest
May 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. ;(function($) {
  2. $.fn.myPlugin = function(options) {
  3. var defaults = {
  4.  
  5. };
  6.  
  7. var options = $.extend(defaults, options);
  8.  
  9. function log(message) { /* debug function */
  10. if (console && console.log) {
  11. console.log(message);
  12. }
  13. }
  14.  
  15. return this.each(function(){
  16. var $this = $(this);
  17.  
  18.  
  19.  
  20. });
  21. };
  22.  
  23. })(jQuery);
Add Comment
Please, Sign In to add comment