title: Writing jQuery Plugins Using Classes and Prototypes
body: <p>Is it good or bad practise writing plugins this way(using class and prototypes), what are disadvatages of this code?</p>
  
  <pre><code>function PluginName(jqueryObject, options) {
  
  }
  PluginName.prototype = {
      publicMethod:function() {
      },
      _privateMethod:function() {
      }
  }
  
  // Initializing 
  var myPluginInstance = new PluginName($(".mySelector"), {myOption:1});
  myPluginInstance.publicMethod();
  </code></pre>