code+"^**^"+index]=hash; }, getArgsFromAPI:function(cls,key,isInstance,firstArgsCode){ var doc=xui.getRes("doc."+cls+(isInstance?".prototype":"")+"."+key); // try parent's member function if(xui.isStr(doc) && doc===key){ var obj = xui.get(window,(cls+(isInstance?".prototype":"")+"."+key).split('.')); if(obj && obj.$original$) doc= xui.getRes("doc." +obj.$original$ + '.prototype.'+key); } if(xui.isStr(doc) && doc===key) return null; if(doc){ var rp,clso=xui.SC.get(cls); if(clso) rp=xui.fun.args(clso.$EventHandlers[key]); var paras=doc.$paras, arr=[], str; if(paras&¶s.length){ // the first argument is special if(firstArgsCode){ arr=[{code:firstArgsCode}]; } for(var i=firstArgsCode?1:0;i