Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 970 Bytes

README.md

File metadata and controls

41 lines (23 loc) · 970 Bytes

#stdClass.js

Extendable base class.

##Install

  1. Choose your favorite way to get FPDF.js

    • Bower: bower install --save stdClass
    • Download as Zip-Archive
    • git clone https://github.com/platdesign/stdClass.git
  2. Embed it into your HTML

     <script src="vendor/stdClass/stdClass.js"></script>
    

##Example

var Moveable = stdClass.extend({
	move:function(){ this._startMove(); }
});

var Car = Moveable.extend({
	_startMove:function(){ this.accelerate(); },
	accelerate:function(){}
});

##License This project is under the MIT license. Let me know if you'll use it. =)

##Contributors This is a project by Christian Blaschke. Get in touch: mail@platdesign.de or @platdesign

Analytics