jlittlejohn
11/3/2012 - 7:11 PM

JS: Utility Function in a Closure

JS: Utility Function in a Closure

(function( $ ){
  
  $.fn.example = function() {
    // some code
  };

})( jQuery );