Skip to content

platdesign/stdClass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

A base class for Javascript

Resources

Stars

Watchers

Forks

Packages

No packages published