Hey guys, in my model i have something like this:
define : {
streetname: {
set: function(newVal){
console.log('CustomerAddress:streetname set:', newVal);
return newVal;
},
get: function () {
// how do i log the value of streetname been returned?
}
},
},
I can't work out a way to log the value of the attribute been returned....
Any suggestions... ?
define : {
streetname: {
set: function(newVal){
console.log('CustomerAddress:streetname set:', newVal);
return newVal;
},
get: function () {
// how do i log the value of streetname been returned?
}
},
},
I can't work out a way to log the value of the attribute been returned....
Any suggestions... ?