Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 1005 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 1005 Bytes

attribute

attribute management

attribute NPM downloads Build Status Coverage Status Dependency Status node version

example

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