Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.17 KB

base

base class for attribute initialization, life cycle and plugin management

base NPM downloads Build Status Coverage Status Dependency Status Bower version node version

browser support

example

var base = require('modulex-base');
var X = base.extend({
},{
    ATTRS:{
        x: {
            getter:function(){
                return 1;
            }
        }
    }
});
var y = new X();
y.get('x') // => 1