我所说的属于关联ASSOCATION产生的吸气作用:
token.getUser({
callback: function(user, operation) {
console.info('getUser callback');
Ext.Viewport.unmask();
console.dir(operation);
},
failure: function(user, operation) {
console.info('getUser failure');
},
success: function(user) {
console.info('getUser success');
}
});
我的控制台显示以下内容:
getUser success Auth.js:74
getUser failure Auth.js:69
getUser callback Auth.js:64
undefined
可有人请赐教如何工作的? 该文档没有太大帮助。