var Card = YClass.extend({
// define Class Name
className: Card ,
// class level default options
config:{
id: cardid ,
container: body , // id of container in which to render the user
render:false,
template: tmpl_card , // id of template used to render user
debug:false
},
setposition:function() {
var i=1;
var xpos=10;
var ypos=15;
var recvflag=false;
}
);
• 如何确定职位职能,一是用卡盘(Card.setposition)进行审判;
but its giving me error that setposition is not defined why??