title: jquery prototypal inheritance
body: <p>I am using the following boilerplate to try something out:
  <a href="https://github.com/jquery-boilerplate/jquery-patterns/blob/master/patterns/jquery.prototypal-inheritance.plugin-boilerplate.js" rel="nofollow">https://github.com/jquery-boilerplate/jquery-patterns/blob/master/patterns/jquery.prototypal-inheritance.plugin-boilerplate.js</a></p>
  
  <p>So if "myObject" would be named "car", how do I extend the whole thing with another class then, something like a car type e.g. "bmw" (main class "car", subclass "bmw")</p>
  
  <p>Don't I have to change "$.plugin = function( name, object )" to "$.plugin = function( name, object, extend )" and apply the subclass to it? It's a bit unfortunate that they haven't written a full example of a prototypal inheritance. Thanks a lot in advance.</p>