What steps will reproduce the problem?
1. use builder option inside has section of any class
What is the expected output? What do you see instead?
Property should get value, but it becomes null instead.
Works with init, but not with builder...
What version of the product are you using? On what operating system?
joose 3 with jquery and ui
Please provide any additional information below.
Class('User', {
has : {
lastLogin : { is : 'rw', builder : 'buildLastLogin' }
},
methods : {
buildLastLogin : function () { return new Date() }
}
});
$(function(){
var u = new User();
console.log(u.getLastLogin());
});
Original issue reported on code.google.com by nekdo...@gmail.com on 12 May 2012 at 12:45
Original issue reported on code.google.com by
nekdo...@gmail.com
on 12 May 2012 at 12:45