/base

base class for attribute initialization, life cycle and plugin management

Primary LanguageJavaScript

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