corazon
v0.1.1
Published
Elegant JS class system
Downloads
2
Maintainers
Readme
Corazón
An elegant JS class system at the heart of Azul.js.
var Class = require('corazon/class');
var Person = Class.extend({
init: function(firstName, lastName) {
console.log('creating the person %s %s', firstName, lastName);
}
});
var person = Person.create('Whitney', 'Young');
See usage details on the Azul.js website.
License
This project is distributed under the MIT license.