Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
resourceful=require('./');
X=resourceful.define({
name:'XXX',
properties:{
z:{
type:'number',
get:function(val){
console.log('get','this',this,'val',val);
return this._properties.z;
},
set:function(val){
console.error('set','this',this,'val',val);
this._properties.z = 2;
}
}
}
});
a=new X({z:1})
console.error(a)
a._properties.z = 1;
console.error(a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.