pd-stdclass
v0.1.0
Published
A base class for Javascript
Downloads
9
Readme
#stdClass.js
Extendable base class.
##Install
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
- Bower:
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: [email protected] or @platdesign