title: Wrap jQuery plugin with a function
body: <p>Let’s say I have following simple plugin:</p>
  
  <pre><code>(function ( $ ) {
      $.fn.greenify = function() {
         this.css( "color", "green" );
         return this;
      };
  }( jQuery ));
  </code></pre>
  
  <p>I don’t want to make any changes to the plugin itself, but I would like to wrap with another function and extend its namespace as follow:</p>
  
  <pre><code>(function($) {
      $.fn.myFunction = function () {
          (function ($) {
              $.fn.greenify = function () {
                  this.css("color", "green");
                  return this;
              };
          }(jQuery));
      };
  })(jQuery);
  </code></pre>
  
  <p>So I can call the plugin function like this:</p>
  
  <pre><code>$(selector). myFunction().greenify();
  </code></pre>
  
  <p>Basically I want to disable calling ‘greenify’ function directly.</p>
  
  <p>Is it possible?</p>