Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 983 Bytes

File metadata and controls

28 lines (24 loc) · 983 Bytes

base

base class for attribute initialization, life cycle and plugin management

base NPM downloads Build Status Coverage Status Dependency Status node version

example

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