bamboo的模型定义时可以少两个东西了

0 views
Skip to first unread message

Tang Daogang

unread,
Apr 18, 2012, 3:30:11 AM4/18/12
to bamb...@googlegroups.com
__desc 属性基本没用;
__name属性现在也可以不写了。
 
local AAA = Model:extend {
     __tag = "Object.Model.AAA";
     __fields = {
 
 
     };
 
     init = function ()
         
     end;
}
 
 
 
 
当然,写上也没问题。
 


--
Nothing is impossible.

Reply all
Reply to author
Forward
0 new messages