title: Is this the right way to "override" a jQuery plugin (to provide default settings)?
body: <p>I'd like to override (wrap) the <code>$.fn.ckeditor</code> function, that is the jQuery adapter for CKEditor. What value should I return? It this the correct way:</p>
  
  <pre><code>;(function ($) {
      var defaults = {}
          ckeditor = $.fn.ckeditor;
  
      $.fn.ckeditor = function (cb, options) {                   
          ckeditor.apply(this, [cb || $.noop, $.extend(defaults, options || {})]);
      };
  }(jQuery));
  </code></pre>
  
  <p>in order to override a plugin?</p>