How to use Array.prototype.slice.call method in istanbul

Best JavaScript code snippet using istanbul

UI.js

Source:UI.js Github

copy

Full Screen

1(function(){this['Screen']=this['create']();2this['Screen']['width?']=dtlbind(this,function(){3var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);4return this['$']['create']((this['window']))['width']();5});6this['Screen']['height?']=dtlbind(this,function(){7var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);8return this['$']['create']((this['window']))['height']();9});10this['Screen']['paint']=dtlbind(this,function(c){11var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);12return this['$']['create']("body")['css']("background-color",((c+"")));13});14this['addAlias']("Screen","Panel");15this['UI']=this['create']();16this['UI']['valueOf']=dtlbind(this,function(){17var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);18var ret;19var halfval;20ret=dtlbind(this,function(){21var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);22return dtlbind(this,function(){23var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);24return this['element']['text'];25})['then']()['execute'](dtlbind(this,function(){26var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);27return this['element']['text']();28}));29})['or'](dtlbind(this,function(){30var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);31return dtlbind(this,function(){32var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);33return this['element']['val'];34})['then']()['execute'](dtlbind(this,function(){35var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);36return this['element']['val']();37}));38}),dtlbind(this,function(){39var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);40return dtlbind(this,function(){41var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);42return this['element']['innerHTML'];43})['then']()['execute'](dtlbind(this,function(){44var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);45return this['element']['innerHTML']();46}));47}));48halfval=((""+ret))['replace']((root['window']['RegExp']("[0-9.]","g")),dtlbind(this,function(tmpStr){49var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);50return root['window']['String']['fromCharCode']((((tmpStr['charCodeAt']((0)))-(65248))));51}));52return dtlbind(this,function(){53var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);54return root['window']['parseFloat']((halfval));55})['then']()['else'](dtlbind(this,function(){56var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);57return root['window']['parseFloat']((halfval));58}))['execute'](dtlbind(this,function(){59var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);60return ret;61}));62});63this['UI']['setTrans']=dtlbind(this,function(){64var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);65var str;66str=(((("postion:absolute;left:"+(this['pos']['x']))+";top:")+(this['pos']['y']))+";");67this['element']['attr']("transform",(str))['attr']("data-trans",((((this['pos']['x'])+",")+(this['pos']['y']))));68return this;69});70this['UI']['hide']=dtlbind(this,function(){71var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);72dtlbind(this,function(){73var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);74return this['element'];75})['then']()['execute'](dtlbind(this,function(){76var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);77return this['element']['hide']();78}));79return this;80});81this['UI']['show']=dtlbind(this,function(){82var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);83dtlbind(this,function(){84var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);85return this['element'];86})['then']()['execute'](dtlbind(this,function(){87var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);88return this['element']['show']();89}));90return this;91});92this['UI']['addAlias']("hide","die");93this['UI']['addAlias']("show","appear");94this['UI']['top']=((((this['Screen']['height?']())/(2)))-(20));95this['UI']['autoLayout']=dtlbind(this,function(){96var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);97this['UILayout']['add']((this));98dtlbind(this,function(){99var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);100return this['last'];101})['then']()['else'](dtlbind(this,function(){102var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);103return this['moveTo']((((this['last']['right?']())+(10))),(this['last']['top?']()));104}))['execute'](dtlbind(this,function(){105var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);106return this['moveTo']((((-(this['Screen']['width?']())/(2))+(20))),(this['top']));107}));108return this['UI']['last']=this;109});110this['UI']['moveTo']=dtlbind(this,function(left,top){111var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);112this['UILayout']['remove']((this),(left),(top));113return this;114});115this['UI']['moveBy']=dtlbind(this,function(dx,dy){116var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);117return this['moveTo']((((this['left?']())+dx)),(((this['top?']())+dy)));118});119this['UI']['left?']=dtlbind(this,function(){120var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);121return dtlbind(this,function(){122var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);123return this['element'];124})['then']()['else'](dtlbind(this,function(){125var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);126return ((this['element']['offset']())['left']-((this['UI']['container']['offset']())['left']));127}))['execute'](dtlbind(this,function(){128var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);129return (0);130}));131});132this['UI']['addAlias']("left?","xpos?");133this['UI']['right?']=dtlbind(this,function(){134var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);135return ((this['left?']())+(this['width?']()));136});137this['UI']['top?']=dtlbind(this,function(){138var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);139return dtlbind(this,function(){140var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);141return this['element'];142})['then']()['else'](dtlbind(this,function(){143var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);144return -(((this['element']['offset']())['top']-((this['UI']['container']['offset']())['top'])));145}))['execute'](dtlbind(this,function(){146var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);147return (0);148}));149});150this['UI']['addAlias']("top?","ypos?");151this['UI']['bottom?']=dtlbind(this,function(){152var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);153return ((this['top?']())-(this['height?']()));154});155this['UI']['width?']=dtlbind(this,function(){156var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);157return dtlbind(this,function(){158var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);159return this['element'];160})['then']()['else'](dtlbind(this,function(){161var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);162return this['element']['outerWidth']();163}))['execute'](dtlbind(this,function(){164var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);165return (0);166}));167});168this['UI']['height?']=dtlbind(this,function(){169var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);170return dtlbind(this,function(){171var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);172return this['element'];173})['then']()['else'](dtlbind(this,function(){174var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);175return this['element']['outerHeight']();176}))['execute'](dtlbind(this,function(){177var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);178return (0);179}));180});181this['UI']['width']=dtlbind(this,function(w){182var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);183dtlbind(this,function(){184var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);185return this['element'];186})['then']()['execute'](dtlbind(this,function(){187var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);188return this['element']['width']((w));189}));190return this;191});192this['UI']['height']=dtlbind(this,function(w){193var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);194dtlbind(this,function(){195var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);196return this['element'];197})['then']()['execute'](dtlbind(this,function(){198var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);199return this['element']['height']((w));200}));201return this;202});203this['UI']['nextLine']=dtlbind(this,function(){204var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);205var top;206var left;207dtlbind(this,function(){208var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);209return this['last'];210})['then']()['execute'](dtlbind(this,function(){211var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);212this['console']['log']("NL",(this['Screen']['width?']()),(this['last']['bottom?']()));213left=((-(this['Screen']['width?']())/(2))+(20));214top=this['last']['bottom?']();215return this['moveTo']((left),(top));216}));217return this;218});219this['UI']['write']=dtlbind(this,function(m){220var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);221dtlbind(this,function(){222var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);223return this['element'];224})['then']()['execute'](dtlbind(this,function(){225var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);226return (this['element']['get']((0)))['innerHTML']=this['num2str']((m));227}));228return this;229});230this['UI']['addAlias']("write","set");231this['UI']['add']=dtlbind(this,function(m){232var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);233dtlbind(this,function(){234var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);235return this['element'];236})['then']()['execute'](dtlbind(this,function(){237var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);238return this['write'](((((this['element']['get']((0)))['innerHTML'])+m)));239}));240return this;241});242this['UI']['newLine']=dtlbind(this,function(){243var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);244this['add']("<br>");245return this;246});247this['UI']['clear']=dtlbind(this,function(){248var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);249return this['write']("");250});251this['UI']['num2strDigits']=(1000000);252this['UI']['num2str']=dtlbind(this,function(v){253var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);254var r;255dtlbind(this,function(){256var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);257return (v===this['null']);258})['then']()['execute'](dtlbind(this,function(){259var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);260return v="";261}));262dtlbind(this,function(){263var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);264return (v===this['undef']);265})['then']()['execute'](dtlbind(this,function(){266var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);267return v="";268}));269dtlbind(this,function(){270var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);271return ((this['typeof']((v)))==="number");272})['then']()['execute'](dtlbind(this,function(){273var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);274return v=(((this['window']['Math'])['round'](((v*this['num2strDigits']))))/this['num2strDigits']);275}));276return (v+"");277});278this['UI']['int2str']=this['UI']['num2str'];279this['UI']['str2num']=dtlbind(this,function(s){280var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);281var r;282r=this['window']['parseFloat']((s));283return dtlbind(this,function(){284var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);285return (r===r);286})['then']()['else'](dtlbind(this,function(){287var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);288return r;289}))['execute'](dtlbind(this,function(){290var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);291return s;292}));293});294this['UI']['str2int']=this['UI']['str2num'];295this['UI']['readString']=dtlbind(this,function(){296var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);297return dtlbind(this,function(){298var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);299return this['element'];300})['then']()['else'](dtlbind(this,function(){301var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);302return this['element']['text']();303}))['execute'](dtlbind(this,function(){304var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);305return "";306}));307});308this['UI']['read']=dtlbind(this,function(){309var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);310return this['str2num']((this['readString']()));311});312this['UI']['addAlias']("read","get");313this['UI']['inc']=dtlbind(this,function(by){314var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);315by=dtlbind(this,function(){316var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);317return by;318})['or'](dtlbind(this,function(){319var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);320return (1);321}));322return this['write'](((((this['read']())-(0))+by)));323});324this['UI']['addAlias']("inc","increment");325this['UI']['dec']=dtlbind(this,function(by){326var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);327by=dtlbind(this,function(){328var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);329return by;330})['or'](dtlbind(this,function(){331var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);332return (1);333}));334return this['write']((((this['read']())-by)));335});336this['UI']['addAlias']("dec","decrement");337this['UI']['paint']=dtlbind(this,function(r,g,b){338var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,3);339var args;340var c;341args=root['window']['Array']['prototype']['slice']['call']((arguments));342dtlbind(this,function(){343var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);344return (args['length']===(1));345})['then']()['else'](dtlbind(this,function(){346var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);347return c=r;348}))['execute'](dtlbind(this,function(){349var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);350return c=this['Color']['create']((r),(g),(b));351}));352this['element']['css']("background-color",(c));353return this;354});355this['UI']['fontColor']=dtlbind(this,function(r,g,b){356var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,3);357var args;358var c;359args=root['window']['Array']['prototype']['slice']['call']((arguments));360dtlbind(this,function(){361var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);362return (args['length']===(1));363})['then']()['else'](dtlbind(this,function(){364var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);365return c=r;366}))['execute'](dtlbind(this,function(){367var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);368return c=this['Color']['create']((r),(g),(b));369}));370this['element']['css']("color",(c));371return this;372});373this['UI']['fontSize']=dtlbind(this,function(s){374var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);375this['element']['css']("font-size",(((s/(10))+"em")));376return this;377});378this['UI']['size']=dtlbind(this,function(w,h){379var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);380this['element']['css']("width",((w+"px")))['css']("height",((h+"px")));381return this;382});383this['UI']['attachEvent']=dtlbind(this,function(){384var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);385return });386this['UI']['container']=this['$']['create']("<div>")['appendTo']("body")['attr']("id","UI_div")['css']("position","absolute")['css']("left",(((this['Screen']['width?']())/(2))))['css']("top",(((this['Screen']['height?']())/(2))));387this['$']['create']((this['window']))['resize']((dtlbind(this,function(){388var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);389return this['UI']['container']['css']("left",(((this['Screen']['width?']())/(2))))['css']("top",(((this['Screen']['height?']())/(2))));390})['bind']((this))));391this['UILayout']=this['create']();392this['UILayout']['space']=(20);393this['UILayout']['initElem']=dtlbind(this,function(){394var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);395this['element']=this['$']['create']("<div>")['appendTo']((this['UI']['container']));396this['element']['css']("white-space","nowrap")['css']("position","absolute")['css']("left",(((-(this['Screen']['width?']())/(2))+this['space'])))['css']("top",(((-(this['Screen']['height?']())/(2))+this['space'])));397return this['$']['create']((this['window']))['resize']((dtlbind(this,function(){398var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);399return this['element']['css']("left",(((-(this['Screen']['width?']())/(2))+this['space'])))['css']("top",(((-(this['Screen']['height?']())/(2))+this['space'])));400})['bind']((this))));401});402this['UILayout']['initElem']();403this['UILayout']['add']=dtlbind(this,function(ui){404var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);405ui['element']['remove']();406ui['inUILayout']=this;407this['element']['append']((ui['element']));408ui['attachEvent']();409return ui['element']['css']("position","static");410});411this['UILayout']['remove']=dtlbind(this,function(ui,left,top){412var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,3);413dtlbind(this,function(){414var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);415return ui['inUILayout'];416})['then']()['execute'](dtlbind(this,function(){417var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);418ui['element']['remove']();419ui['inUILayout']=this['false'];420this['UI']['container']['append']((ui['element']));421return ui['attachEvent']();422}));423return ui['element']['css']("position","absolute")['css']("left",(left))['css']("top",(-top));424});425this['UILayout']['br']=dtlbind(this,function(ui){426var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);427return this['$']['create']("<br>")['insertBefore']((ui['element']));428});429this['Label']=this['UI']['create']();430this['Label']['left']=(0);431this['Label']['initialize']=dtlbind(this,function(label){432var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);433var t;434t=this;435dtlbind(this,function(){436var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);437return (label===this['undef']);438})['then']()['execute'](dtlbind(this,function(){439var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);440return label=this['read']();441}));442this['element']=this['$']['create']("<span>")['text']((this['num2str']((label))))['css']("font-size","1.0em")['css']("vertical-align","top")['css']("white-space","nowrap");443return this['autoLayout']();444});445this['Label']['fontColor']=dtlbind(this,function(r,g,b){446var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,3);447var args;448var c;449args=root['window']['Array']['prototype']['slice']['call']((arguments));450dtlbind(this,function(){451var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);452return (args['length']===(1));453})['then']()['else'](dtlbind(this,function(){454var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);455return c=r;456}))['execute'](dtlbind(this,function(){457var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);458return c=this['Color']['create']((r),(g),(b));459}));460this['element']['css']("color",(c));461return this;462});463this['Label']['fontSize']=dtlbind(this,function(s){464var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);465var size;466size=(s/(10));467dtlbind(this,function(){468var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);469return (size<(0.5));470})['then']()['execute'](dtlbind(this,function(){471var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);472return size=(0.5);473}));474this['element']['css']("font-size",((size+"em")));475return this;476});477this['Button']=this['UI']['create']();478this['Button']['action']=dtlbind(this,function(){479var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);480return });481this['Button']['left']=(0);482this['Button']['attachEvent']=dtlbind(this,function(){483var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);484var t;485t=this;486return this['element']['click'](dtlbind(this,function(){487var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);488return t['action']['execute']();489}));490});491this['Button']['initialize']=dtlbind(this,function(label,key){492var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);493var t;494t=this;495dtlbind(this,function(){496var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);497return (label===this['undef']);498})['then']()['execute'](dtlbind(this,function(){499var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);500return label=this['read']();501}));502this['element']=this['$']['create']("<button>")['text']((this['num2str']((label))))['css']("vertical-align","top")['css']("white-space","nowrap");503this['autoLayout']();504return dtlbind(this,function(){505var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);506return key;507})['then']()['execute'](dtlbind(this,function(){508var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);509return root['window']['$'](dtlbind(this,function(){510var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);511return root['window']['document']['addEventListener']("keydown",dtlbind(this,function(k){512var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);513return dtlbind(this,function(){514var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);515return (k['keyCode']===(root['Button']['keyCodeDict']['read']((((key+""))['toUpperCase']()))));516})['then']()['execute'](dtlbind(this,function(){517var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);518return t['action']['execute']();519}));520}),(root['true']));521}));522}));523});524this['Button']['setAction']=dtlbind(this,function(a){525var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);526this['action']=a;527return this;528});529this['Button']['keyCodeDict']=this['Dict']['create']();530dtlbind(this,function(){531var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);532var arr;533arr=this['Array']['create']("0","1","2","3","4","5","6","7","8","9");534dtlbind(this,function(n){535var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);536return this['Button']['keyCodeDict']['write']((arr['get']((n))),((n+(47))));537})['repeat']((arr['length?']()));538arr=this['Array']['create']("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");539dtlbind(this,function(n){540var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);541return this['Button']['keyCodeDict']['write']((arr['get']((n))),((n+(64))));542})['repeat']((arr['length?']()));543arr=this['Array']['create']("F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12");544dtlbind(this,function(n){545var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);546return this['Button']['keyCodeDict']['write']((arr['get']((n))),((n+(111))));547})['repeat']((arr['length?']()));548return this['Button']['keyCodeDict']['write']("ESCAPE",(27))['write']("MINUS",(189))['write']("BACK_SLASH",(220))['write']("OPEN_BRACKET",(219))['write']("CLOSE_BRACKET",(221))['write']("SEMICOLON",(186))['write']("COMMA",(188))['write']("PERIOD",(190))['write']("SLASH",(191))['write']("ENTER",(13))['write']("PAGE_UP",(33))['write']("PAGE_DOWN",(34))['write']("END",(35))['write']("HOME",(36))['write']("LEFT",(37))['write']("UP",(38))['write']("RIGHT",(39))['write']("DOWN",(40))['write']("SPACE",(32))['write']("SHIFT",(16))['write']("CTRL",(17));549})['execute']();550this['Button']['inc']=dtlbind(this,function(){551var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);552var label;553label=(this['element']['get']((0)))['innerHTML'];554dtlbind(this,function(){555var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);556return label['match']((root['window']['RegExp']("^([0-90-9]+)$")));557})['then']()['execute'](dtlbind(this,function(){558var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);559return this['element']['text']((((root['window']['parseInt']((label)))+(1))));560}));561return this;562});563this['Field']=this['UI']['create']();564this['Field']['action']=dtlbind(this,function(){565var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);566return });567this['Field']['attachEvent']=dtlbind(this,function(){568var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);569var t;570t=this;571return this['element']['keypress'](dtlbind(this,function(key){572var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);573return dtlbind(this,function(){574var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);575return (key['which']===(13));576})['then']()['execute'](dtlbind(this,function(){577var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);578return t['action']((t['readString']()));579}));580}));581});582this['Field']['setAction']=dtlbind(this,function(f){583var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);584this['action']=f;585return this;586});587this['Field']['initialize']=dtlbind(this,function(label){588var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);589dtlbind(this,function(){590var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);591return (label===this['undef']);592})['then']()['execute'](dtlbind(this,function(){593var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);594return label=this['read']();595}));596this['element']=this['$']['create']("<input>")['val']((this['num2str']((label))))['css']("vertical-align","top")['css']("white-space","nowrap");597return this['autoLayout']();598});599this['Field']['write']=dtlbind(this,function(m){600var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);601dtlbind(this,function(){602var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);603return this['element'];604})['then']()['execute'](dtlbind(this,function(){605var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);606return this['element']['val']((this['num2str']((m))));607}));608return this;609});610this['Field']['readString']=dtlbind(this,function(){611var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);612return dtlbind(this,function(){613var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);614return this['element'];615})['then']()['else'](dtlbind(this,function(){616var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);617return this['element']['val']();618}))['execute'](dtlbind(this,function(){619var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);620return "";621}));622});623this['TextArea']=this['UI']['create']();624this['ListBox']=this['TextArea']['create']();625this['TextArea']['initialize']=dtlbind(this,function(){626var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);627var label;628label=this['read']();629this['manualRow']=this['false'];630this['manualCol']=this['false'];631this['element']=this['$']['create']("<textarea>")['val']((label))['css']("vertical-align","top")['attr']("wrap","off");632this['element']['attr']("readonly",(this['isReadOnly']));633this['autoResize']();634this['autoLayout']();635return this['writeLn']['apply']((this),(arguments));636});637this['TextArea']['autoNewLine']=dtlbind(this,function(f){638var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);639dtlbind(this,function(){640var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);641return (f===this['undef']);642})['then']()['execute'](dtlbind(this,function(){643var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);644return f=this['true'];645}));646this['isAutoBR']=f;647return this;648});649this['TextArea']['addAlias']("autoNewLine","autoBR");650this['TextArea']['setReadOnly']=dtlbind(this,function(f){651var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);652this['isReadOnly']=f;653dtlbind(this,function(){654var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);655return this['element'];656})['then']()['execute'](dtlbind(this,function(){657var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);658return this['element']['attr']("readonly",(f));659}));660return this;661});662this['TextArea']['readOnly']=dtlbind(this,function(){663var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);664return this['setReadOnly']((this['true']));665});666this['TextArea']['writable']=dtlbind(this,function(){667var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);668return this['setReadOnly']((this['false']));669});670this['TextArea']['addAlias']("writable","readWrite");671this['ListBox']['readOnly']()['autoBR']();672this['TextArea']['mblen']=dtlbind(this,function(s){673var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);674var i;675var c;676var r;677i=(0);678r=(0);679dtlbind(this,function(){680var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);681return (i<(s['length']));682})['while']()['execute'](dtlbind(this,function(){683var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);684c=s['charCodeAt']((i));685r=(r+(dtlbind(this,function(){686var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);687return (c>=(128));688})['then']()['else'](dtlbind(this,function(){689var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);690return (2);691}))['execute'](dtlbind(this,function(){692var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);693return (1);694}))));695return i=(i+(1));696}));697return r;698});699this['TextArea']['autoResize']=dtlbind(this,function(){700var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);701var r;702var c;703r=(1);704c=(1);705this['readString']()['split']("\n")['each'](dtlbind(this,function(s){706var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);707var l;708l=this['mblen']((s));709dtlbind(this,function(){710var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);711return (l>c);712})['then']()['execute'](dtlbind(this,function(){713var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);714return c=l;715}));716return r=(r+(1));717}));718dtlbind(this,function(){719var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);720return this['manualRow'];721})['then']()['else'](dtlbind(this,function(){722var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);723return }))['execute'](dtlbind(this,function(){724var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);725return this['element']['attr']("rows",(r));726}));727dtlbind(this,function(){728var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);729return this['manualCol'];730})['then']()['else'](dtlbind(this,function(){731var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);732return }))['execute'](dtlbind(this,function(){733var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);734return this['element']['attr']("cols",(c));735}));736return this;737});738this['TextArea']['setRow']=dtlbind(this,function(r){739var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);740this['element']['attr']("rows",(r));741this['manualRow']=this['true'];742return this;743});744this['TextArea']['setCol']=dtlbind(this,function(c){745var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);746this['element']['attr']("cols",(c));747this['manualCol']=this['true'];748return this;749});750this['TextArea']['overwrite']=dtlbind(this,function(){751var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);752var a;753var buf;754this['clear']();755return this['writeLn']['apply']((this),(arguments));756});757this['TextArea']['readString']=dtlbind(this,function(){758var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);759return dtlbind(this,function(){760var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);761return this['element'];762})['then']()['else'](dtlbind(this,function(){763var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);764return this['element']['val']();765}))['execute'](dtlbind(this,function(){766var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);767return "";768}));769});770this['TextArea']['read']=this['TextArea']['readString'];771this['TextArea']['write']=dtlbind(this,function(){772var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);773(this['Array']['prototype']['slice'])['call']((arguments))['each'](dtlbind(this,function(cont){774var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);775return this['_write1']((cont),(this['isAutoBR']));776}));777return this['autoResize']();778});779this['TextArea']['rawOverwrite']=dtlbind(this,function(c){780var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);781dtlbind(this,function(){782var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);783return this['element'];784})['then']()['execute'](dtlbind(this,function(){785var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);786return this['element']['val']((c));787}));788return this;789});790this['TextArea']['rawAppend']=dtlbind(this,function(cont){791var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);792return this['rawOverwrite']((((this['readString']())+(this['num2str']((cont))))));793});794this['TextArea']['writeLn']=dtlbind(this,function(){795var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);796(this['Array']['prototype']['slice'])['call']((arguments))['each'](dtlbind(this,function(cont){797var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);798return this['_write1']((cont),(this['true']));799}));800return this['autoResize']();801});802this['TextArea']['_write1']=dtlbind(this,function(cont,br){803var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);804dtlbind(this,function(){805var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);806return this['instanceof']((cont),(this['Array']));807})['then']()['else'](dtlbind(this,function(){808var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);809return cont['each'](dtlbind(this,function(e){810var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);811return this['_write1']((e),(br));812}));813}))['execute'](dtlbind(this,function(){814var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);815this['rawAppend']((cont));816return dtlbind(this,function(){817var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);818return br;819})['then']()['execute'](dtlbind(this,function(){820var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);821return this['rawAppend']("\n");822}));823}));824return this;825});826this['TextArea']['newLine']=dtlbind(this,function(){827var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);828return this['rawAppend'](("\n"));829});830this['TextArea']['clear']=dtlbind(this,function(){831var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);832this['rawOverwrite']("");833return this['autoResize']();834});835this['TextArea']['readAsArray']=dtlbind(this,function(){836var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);837return this['read']()['split']("\n")['select'](dtlbind(this,function(e){838var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);839return (e!=="");840}))['map']((dtlbind(this,function(e){841var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);842return this['str2num']((e));843})['bind']((this))));844});845this['TextArea']['changeLine']=dtlbind(this,function(no,line){846var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,2);847return this['overwrite']((this['readAsArray']()['set']((no),(line))));848});849this['SelectMenu']=this['UI']['create']();850this['SelectMenu']['action']=dtlbind(this,function(){851var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);852return });853this['SelectMenu']['attachEvent']=dtlbind(this,function(){854var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);855var t;856t=this;857this['element']['change'](dtlbind(this,function(){858var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);859var num;860var txt;861txt=t['element']['find']("option:selected")['text']();862num=t['element']['val']();863return t['action']((txt),(num));864}));865return this['element']['click']((dtlbind(this,function(){866var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);867return this['element']['val']("0");868})['bind']((this))));869});870this['SelectMenu']['initialize']=dtlbind(this,function(){871var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);872var args;873args=root['window']['Array']['prototype']['slice']['call']((arguments));874this['optNum']=(0);875this['element']=this['$']['create']("<select>")['val']((this['num2str']((this['label']))))['css']("min-width","100px")['css']("font-size","1.3em")['css']("vertical-align","top")['css']("white-space","nowrap");876this['autoLayout']();877return args['each'](dtlbind(this,function(e){878var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);879return this['add']((e));880}));881});882return this['SelectMenu']['add']=dtlbind(this,function(){883var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);884var opt;885this['args']=root['window']['Array']['prototype']['slice']['call']((arguments));886this['args']['each'](dtlbind(this,function(e){887var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);888return dtlbind(this,function(){889var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);890return root['window']['Array']['isArray']((e));891})['then']()['else'](dtlbind(this,function(){892var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);893return e['each'](dtlbind(this,function(e_e){894var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,1);895return this['add']((e_e));896}));897}))['execute'](dtlbind(this,function(){898var self=this;var 自分=self;var _rest=Array.prototype.slice.call(arguments,0);899opt=this['$']['create']("<option>");900opt['attr']("value",(this['optNum']));901opt['text']((e));902this['optNum']=(this['optNum']+(1));903return this['element']['append']((opt));904}));905}));906return this;907});908}).checkerror().apply(root,[]);909/*910// Dolittle911Screen=! create.912Screen:width?=[...

Full Screen

Full Screen

CloudroomVideoSDK_iePatch.js

Source:CloudroomVideoSDK_iePatch.js Github

copy

Full Screen

1function crMgrObj::loginSuccess()2{3 __crVideo_CallBack.apply({"proxy":CRVideo_LoginSuccess}, Array.prototype.slice.call(arguments));4}5function crMgrObj::loginFail()6{7 __crVideo_CallBack.apply({"proxy":CRVideo_LoginFail}, Array.prototype.slice.call(arguments));8}9function crMgrObj::lineOff()10{11 __crVideo_CallBack.apply({"proxy":CRVideo_LineOff}, Array.prototype.slice.call(arguments));12}13function crMgrObj::setDNDStatusSuccess()14{15 __crVideo_CallBack.apply({"proxy":CRVideo_SetDNDStatusSuccess}, Array.prototype.slice.call(arguments));16}17function crMgrObj::setDNDStatusFail()18{19 __crVideo_CallBack.apply({"proxy":CRVideo_SetDNDStatusFail}, Array.prototype.slice.call(arguments));20}21function crMgrObj::getUserStatusSuccess()22{23 __crVideo_CallBack.apply({"proxy":CRVideo_GetUserStatusSuccess}, Array.prototype.slice.call(arguments));24}25function crMgrObj::getUserStatusFail()26{27 __crVideo_CallBack.apply({"proxy":CRVideo_GetUserStatusFail}, Array.prototype.slice.call(arguments));28}29function crMgrObj::notifyUserStatus()30{31 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyUserStatus}, Array.prototype.slice.call(arguments));32}33function crMgrObj::startUserStatusNotifyRslt()34{35 __crVideo_CallBack.apply({"proxy":CRVideo_StartUserStatusNotifyRslt}, Array.prototype.slice.call(arguments));36}37function crMgrObj::stopUserStatusNotifyRslt()38{39 __crVideo_CallBack.apply({"proxy":CRVideo_StopUserStatusNotifyRslt}, Array.prototype.slice.call(arguments));40}41function crMgrObj::createMeetingSuccess()42{43 __crVideo_CallBack.apply({"proxy":CRVideo_CreateMeetingSuccess}, Array.prototype.slice.call(arguments));44}45function crMgrObj::createMeetingFail()46{47 __crVideo_CallBack.apply({"proxy":CRVideo_CreateMeetingFail}, Array.prototype.slice.call(arguments));48}49function crMgrObj::destroyMeetingRslt()50{51 __crVideo_CallBack.apply({"proxy":CRVideo_DestroyMeetingRslt}, Array.prototype.slice.call(arguments));52}53function crMgrObj::getMeetingsSuccess()54{55 __crVideo_CallBack.apply({"proxy":CRVideo_GetMeetingsSuccess}, Array.prototype.slice.call(arguments));56}57function crMgrObj::getMeetingsFail()58{59 __crVideo_CallBack.apply({"proxy":CRVideo_GetMeetingsFail}, Array.prototype.slice.call(arguments));60}61function crMgrObj::callSuccess()62{63 __crVideo_CallBack.apply({"proxy":CRVideo_CallSuccess}, Array.prototype.slice.call(arguments));64}65function crMgrObj::callFail()66{67 __crVideo_CallBack.apply({"proxy":CRVideo_CallFail}, Array.prototype.slice.call(arguments));68}69function crMgrObj::acceptCallSuccess()70{71 __crVideo_CallBack.apply({"proxy":CRVideo_AcceptCallSuccess}, Array.prototype.slice.call(arguments));72}73function crMgrObj::acceptCallFail()74{75 __crVideo_CallBack.apply({"proxy":CRVideo_AcceptCallFail}, Array.prototype.slice.call(arguments));76}77function crMgrObj::rejectCallSuccess()78{79 __crVideo_CallBack.apply({"proxy":CRVideo_RejectCallSuccess}, Array.prototype.slice.call(arguments));80}81function crMgrObj::rejectCallFail()82{83 __crVideo_CallBack.apply({"proxy":CRVideo_RejectCallFail}, Array.prototype.slice.call(arguments));84}85function crMgrObj::hangupCallSuccess()86{87 __crVideo_CallBack.apply({"proxy":CRVideo_HangupCallSuccess}, Array.prototype.slice.call(arguments));88}89function crMgrObj::hangupCallFail()90{91 __crVideo_CallBack.apply({"proxy":CRVideo_HangupCallFail}, Array.prototype.slice.call(arguments));92}93function crMgrObj::notifyCallIn()94{95 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCallIn}, Array.prototype.slice.call(arguments));96}97function crMgrObj::notifyCallAccepted()98{99 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCallAccepted}, Array.prototype.slice.call(arguments));100}101function crMgrObj::notifyCallRejected()102{103 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCallRejected}, Array.prototype.slice.call(arguments));104}105function crMgrObj::notifyCallHungup()106{107 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCallHungup}, Array.prototype.slice.call(arguments));108}109function crMgrObj::sendCmdRlst()110{111 __crVideo_CallBack.apply({"proxy":CRVideo_SendCmdRlst}, Array.prototype.slice.call(arguments));112}113function crMgrObj::sendBufferRlst()114{115 __crVideo_CallBack.apply({"proxy":CRVideo_SendBufferRlst}, Array.prototype.slice.call(arguments));116}117function crMgrObj::sendFileRlst()118{119 __crVideo_CallBack.apply({"proxy":CRVideo_SendFileRlst}, Array.prototype.slice.call(arguments));120}121function crMgrObj::sendProgress()122{123 __crVideo_CallBack.apply({"proxy":CRVideo_SendProgress}, Array.prototype.slice.call(arguments));124}125function crMgrObj::cancelSendRlst()126{127 __crVideo_CallBack.apply({"proxy":CRVideo_CancelSendRlst}, Array.prototype.slice.call(arguments));128}129function crMgrObj::notifyCmdData()130{131 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCmdData}, Array.prototype.slice.call(arguments));132}133function crMgrObj::notifyBufferData()134{135 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyBufferData}, Array.prototype.slice.call(arguments));136}137function crMgrObj::notifyFileData()138{139 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyFileData}, Array.prototype.slice.call(arguments));140}141function crMgrObj::notifyCancelSend()142{143 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCancelSend}, Array.prototype.slice.call(arguments));144}145function crMeetObj::enterMeetingRslt()146{147 __crVideo_CallBack.apply({"proxy":CRVideo_EnterMeetingRslt}, Array.prototype.slice.call(arguments));148}149function crMeetObj::userEnterMeeting()150{151 __crVideo_CallBack.apply({"proxy":CRVideo_UserEnterMeeting}, Array.prototype.slice.call(arguments));152}153function crMeetObj::userLeftMeeting()154{155 __crVideo_CallBack.apply({"proxy":CRVideo_UserLeftMeeting}, Array.prototype.slice.call(arguments));156}157function crMeetObj::stopMeetingRslt()158{159 __crVideo_CallBack.apply({"proxy":CRVideo_StopMeetingRslt}, Array.prototype.slice.call(arguments));160}161function crMeetObj::meetingStopped()162{163 __crVideo_CallBack.apply({"proxy":CRVideo_MeetingStopped}, Array.prototype.slice.call(arguments));164}165function crMeetObj::meetingDropped()166{167 __crVideo_CallBack.apply({"proxy":CRVideo_MeetingDropped}, Array.prototype.slice.call(arguments));168}169function crMeetObj::netStateChanged()170{171 __crVideo_CallBack.apply({"proxy":CRVideo_NetStateChanged}, Array.prototype.slice.call(arguments));172}173function crMeetObj::audioDevChanged()174{175 __crVideo_CallBack.apply({"proxy":CRVideo_AudioDevChanged}, Array.prototype.slice.call(arguments));176}177function crMeetObj::audioStatusChanged()178{179 __crVideo_CallBack.apply({"proxy":CRVideo_AudioStatusChanged}, Array.prototype.slice.call(arguments));180}181function crMeetObj::micEnergyUpdate()182{183 __crVideo_CallBack.apply({"proxy":CRVideo_MicEnergyUpdate}, Array.prototype.slice.call(arguments));184}185function crMeetObj::videoStatusChanged()186{187 __crVideo_CallBack.apply({"proxy":CRVideo_VideoStatusChanged}, Array.prototype.slice.call(arguments));188}189function crMeetObj::notifyVideoData()190{191 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyVideoData}, Array.prototype.slice.call(arguments));192}193function crMeetObj::videoDevChanged()194{195 __crVideo_CallBack.apply({"proxy":CRVideo_VideoDevChanged}, Array.prototype.slice.call(arguments));196}197function crMeetObj::defVideoChanged()198{199 __crVideo_CallBack.apply({"proxy":CRVideo_DefVideoChanged}, Array.prototype.slice.call(arguments));200}201function crMeetObj::notifyAudioPCMDat()202{203 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyAudioPCMDat}, Array.prototype.slice.call(arguments));204}205function crMeetObj::recordErr()206{207 __crVideo_CallBack.apply({"proxy":CRVideo_RecordErr}, Array.prototype.slice.call(arguments));208}209 function crMeetObj::recordStateChanged()210 {211 __crVideo_CallBack.apply({"proxy":CRVideo_RecordStateChanged}, Array.prototype.slice.call(arguments));212}213function crMeetObj::uploadRecordFileErr()214{215 __crVideo_CallBack.apply({"proxy":CRVideo_UploadRecordFileErr}, Array.prototype.slice.call(arguments));216}217function crMeetObj::cancelUploadRecordFileErr()218{219 __crVideo_CallBack.apply({"proxy":CRVideo_CancelUploadRecordFileErr}, Array.prototype.slice.call(arguments));220}221function crMeetObj::notifyRecordFileStateChanged()222{223 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyRecordFileStateChanged}, Array.prototype.slice.call(arguments));224}function crMeetObj::notifyRecordFileUploadProgress()225{226 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyRecordFileUploadProgress}, Array.prototype.slice.call(arguments));227}228function crMeetObj::startScreenShareRslt()229{230 __crVideo_CallBack.apply({"proxy":CRVideo_StartScreenShareRslt}, Array.prototype.slice.call(arguments));231}232function crMeetObj::stopScreenShareRslt()233{234 __crVideo_CallBack.apply({"proxy":CRVideo_StopScreenShareRslt}, Array.prototype.slice.call(arguments));235}function crMeetObj::notifyScreenShareStarted()236{237 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyScreenShareStarted}, Array.prototype.slice.call(arguments));238}239function crMeetObj::notifyScreenShareStopped()240{241 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyScreenShareStopped}, Array.prototype.slice.call(arguments));242}243function crMeetObj::notifyScreenShareData()244{245 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyScreenShareData}, Array.prototype.slice.call(arguments));246}247function crMeetObj::notifyCatchScreen()248{249 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCatchScreen}, Array.prototype.slice.call(arguments));250}251function crMeetObj::notifyGiveCtrlRight()252{253 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyGiveCtrlRight}, Array.prototype.slice.call(arguments));254}255function crMeetObj::notifyReleaseCtrlRight()256{257 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyReleaseCtrlRight}, Array.prototype.slice.call(arguments));258}259function crMeetObj::notifyShareRectChanged()260{261 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyShareRectChanged}, Array.prototype.slice.call(arguments));262}263function crMeetObj::sendIMmsgRlst()264{265 __crVideo_CallBack.apply({"proxy":CRVideo_SendIMmsgRlst}, Array.prototype.slice.call(arguments));266}267function crMeetObj::notifyIMmsg()268{269 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyIMmsg}, Array.prototype.slice.call(arguments));270}271function crMeetObj::notifySwitchToPage()272{273 __crVideo_CallBack.apply({"proxy":CRVideo_NotifySwitchToPage}, Array.prototype.slice.call(arguments));274}275function crMeetObj::notifyVideoWallMode()276{277 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyVideoWallMode}, Array.prototype.slice.call(arguments));278}279function crMeetObj::notifyMainVideoChanged()280{281 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMainVideoChanged}, Array.prototype.slice.call(arguments));282}283function crMeetObj::notifyInitBoards()284{285 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyInitBoards}, Array.prototype.slice.call(arguments));286}287function crMeetObj::notifyInitBoardPageDat()288{289 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyInitBoardPageDat}, Array.prototype.slice.call(arguments));290}function crMeetObj::notifyCreateBoard()291{292 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCreateBoard}, Array.prototype.slice.call(arguments));293}294function crMeetObj::notifyCloseBoard()295{296 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyCloseBoard}, Array.prototype.slice.call(arguments));297}298function crMeetObj::notifyBoardBkImage()299{300 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyBoardBkImage}, Array.prototype.slice.call(arguments));301}302function crMeetObj::notifyAddBoardElement()303{304 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyAddBoardElement}, Array.prototype.slice.call(arguments));305}306function crMeetObj::notifyModifyBoardElement()307{308 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyModifyBoardElement}, Array.prototype.slice.call(arguments));309}310function crMeetObj::notifyDelBoardElement()311{312 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyDelBoardElement}, Array.prototype.slice.call(arguments));313}314function crMeetObj::notifyMouseHotSpot()315{316 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMouseHotSpot}, Array.prototype.slice.call(arguments));317}318function crMeetObj::getNetDiskSummaryRslt()319{320 __crVideo_CallBack.apply({"proxy":CRVideo_GetNetDiskSummaryRslt}, Array.prototype.slice.call(arguments));321}322function crMeetObj::getNetDiskFileListRslt()323{324 __crVideo_CallBack.apply({"proxy":CRVideo_GetNetDiskFileListRslt}, Array.prototype.slice.call(arguments));325}326function crMeetObj::notifyNetDiskIsFull()327{328 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyNetDiskIsFull}, Array.prototype.slice.call(arguments));329}330function crMeetObj::notifyNetDiskFileDeleteRslt()331{332 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyNetDiskFileDeleteRslt}, Array.prototype.slice.call(arguments));333}334function crMeetObj::notifyNetDiskTransforProgress()335{336 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyNetDiskTransforProgress}, Array.prototype.slice.call(arguments));337}338function crMeetObj::notifyMediaOpened()339{340 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMediaOpened}, Array.prototype.slice.call(arguments));341}342function crMeetObj::notifyMediaStart()343{344 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMediaStart}, Array.prototype.slice.call(arguments));345}346function crMeetObj::notifyMediaStop()347{348 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMediaStop}, Array.prototype.slice.call(arguments));349}350function crMeetObj::notifyMediaPause()351{352 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMediaPause}, Array.prototype.slice.call(arguments));353}354function crMeetObj::notifyPlayPosSetted()355{356 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyPlayPosSetted}, Array.prototype.slice.call(arguments));357}358function crMeetObj::notifyMemberMediaData()359{360 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyMemberMediaData}, Array.prototype.slice.call(arguments));361}362function crMeetObj::clientInviteRslt()363{364 __crVideo_CallBack.apply({"proxy":CRVideo_ClientInviteRslt}, Array.prototype.slice.call(arguments));365}366function crMeetObj::clientCancelInviteRslt()367{368 __crVideo_CallBack.apply({"proxy":CRVideo_ClientCancelInviteRslt}, Array.prototype.slice.call(arguments));369}370function crMeetObj::notifyInviteStatus()371{372 __crVideo_CallBack.apply({"proxy":CRVideo_NotifyInviteStatus}, Array.prototype.slice.call(arguments));373}374function crQueueObj::initQueueDatRslt()375{376 __crVideo_CallBack.apply({"proxy":CRVideo_InitQueueDatRslt}, Array.prototype.slice.call(arguments));377}378function crQueueObj::queueStatusChanged()379{380 __crVideo_CallBack.apply({"proxy":CRVideo_QueueStatusChanged}, Array.prototype.slice.call(arguments));381}382function crQueueObj::queuingInfoChanged()383{384 __crVideo_CallBack.apply({"proxy":CRVideo_QueuingInfoChanged}, Array.prototype.slice.call(arguments));385}386function crQueueObj::startQueuingRslt()387{388 __crVideo_CallBack.apply({"proxy":CRVideo_StartQueuingRslt}, Array.prototype.slice.call(arguments));389}390function crQueueObj::stopQueuingRslt()391{392 __crVideo_CallBack.apply({"proxy":CRVideo_StopQueuingRslt}, Array.prototype.slice.call(arguments));393}394function crQueueObj::startServiceRslt()395{396 __crVideo_CallBack.apply({"proxy":CRVideo_StartServiceRslt}, Array.prototype.slice.call(arguments));397}398function crQueueObj::stopServiceRslt()399{400 __crVideo_CallBack.apply({"proxy":CRVideo_StopServiceRslt}, Array.prototype.slice.call(arguments));401}402function crQueueObj::responseAssignUserRslt()403{404 __crVideo_CallBack.apply({"proxy":CRVideo_ResponseAssignUserRslt}, Array.prototype.slice.call(arguments));405}406function crQueueObj::autoAssignUser()407{408 __crVideo_CallBack.apply({"proxy":CRVideo_AutoAssignUser}, Array.prototype.slice.call(arguments));409}410function crQueueObj::reqAssignUserRslt()411{412 __crVideo_CallBack.apply({"proxy":CRVideo_ReqAssignUserRslt}, Array.prototype.slice.call(arguments));413}414function crQueueObj::cancelAssignUser()415{416 __crVideo_CallBack.apply({"proxy":CRVideo_CancelAssignUser}, Array.prototype.slice.call(arguments));417}418function crHttpObj::fileStateChanged()419{420 __crVideo_CallBack.apply({"proxy":CRVideo_FileStateChanged}, Array.prototype.slice.call(arguments));421}422function crHttpObj::fileHttpRspHeader()423{424 __crVideo_CallBack.apply({"proxy":CRVideo_FileHttpRspHeader}, Array.prototype.slice.call(arguments));425}426function crHttpObj::fileHttpRspContent()427{428 __crVideo_CallBack.apply({"proxy":CRVideo_FileHttpRspContent}, Array.prototype.slice.call(arguments));429}430function crHttpObj::fileProgress()431{432 __crVideo_CallBack.apply({"proxy":CRVideo_FileProgress}, Array.prototype.slice.call(arguments));433}434function crHttpObj::fileFinished()435{436 __crVideo_CallBack.apply({"proxy":CRVideo_FileFinished}, Array.prototype.slice.call(arguments));...

Full Screen

Full Screen

forms-switchery.js

Source:forms-switchery.js Github

copy

Full Screen

1var FormsSwitchery = {2 default: function () {3 var elems = Array.prototype.slice.call(document.querySelectorAll('.switchery-default'));4 elems.forEach(function(html) {5 var switchery = new Switchery(html);6 });7 },8 primary: function () {9 var elemsPrimary = Array.prototype.slice.call(document.querySelectorAll('.switchery-primary'));10 elemsPrimary.forEach(function(html) {11 var switchery = new Switchery(html, { color: Pleasure.colors.primary });12 });13 },14 info: function () {15 var elemsInfo = Array.prototype.slice.call(document.querySelectorAll('.switchery-info'));16 elemsInfo.forEach(function(html) {17 var switchery = new Switchery(html, { color: Pleasure.colors.info });18 });19 },20 success: function () {21 var elemsSuccess = Array.prototype.slice.call(document.querySelectorAll('.switchery-success'));22 elemsSuccess.forEach(function(html) {23 var switchery = new Switchery(html, { color: Pleasure.colors.success });24 });25 },26 warning: function () {27 var elemsWarning = Array.prototype.slice.call(document.querySelectorAll('.switchery-warning'));28 elemsWarning.forEach(function(html) {29 var switchery = new Switchery(html, { color: Pleasure.colors.warning });30 });31 },32 danger: function () {33 var elemsDanger = Array.prototype.slice.call(document.querySelectorAll('.switchery-danger'));34 elemsDanger.forEach(function(html) {35 var switchery = new Switchery(html, { color: Pleasure.colors.danger });36 });37 },38 red: function () {39 var elemsRed = Array.prototype.slice.call(document.querySelectorAll('.switchery-red'));40 elemsRed.forEach(function(html) {41 var switchery = new Switchery(html, { color: Pleasure.colors.red });42 });43 },44 pink: function () {45 var elemsPink = Array.prototype.slice.call(document.querySelectorAll('.switchery-pink'));46 elemsPink.forEach(function(html) {47 var switchery = new Switchery(html, { color: Pleasure.colors.pink });48 });49 },50 purple: function () {51 var elemsPurple = Array.prototype.slice.call(document.querySelectorAll('.switchery-purple'));52 elemsPurple.forEach(function(html) {53 var switchery = new Switchery(html, { color: Pleasure.colors.purple });54 });55 },56 deepPurple: function () {57 var elemsDeepPurple = Array.prototype.slice.call(document.querySelectorAll('.switchery-deep-purple'));58 elemsDeepPurple.forEach(function(html) {59 var switchery = new Switchery(html, { color: Pleasure.colors.deep_purple });60 });61 },62 indigo: function () {63 var elemsIndigo = Array.prototype.slice.call(document.querySelectorAll('.switchery-indigo'));64 elemsIndigo.forEach(function(html) {65 var switchery = new Switchery(html, { color: Pleasure.colors.indigo });66 });67 },68 blue: function () {69 var elemsBlue = Array.prototype.slice.call(document.querySelectorAll('.switchery-blue'));70 elemsBlue.forEach(function(html) {71 var switchery = new Switchery(html, { color: Pleasure.colors.blue });72 });73 },74 lightBlue: function () {75 var elemsLightBlue = Array.prototype.slice.call(document.querySelectorAll('.switchery-light-blue'));76 elemsLightBlue.forEach(function(html) {77 var switchery = new Switchery(html, { color: Pleasure.colors.light_blue });78 });79 },80 cyan: function () {81 var elemsCyan = Array.prototype.slice.call(document.querySelectorAll('.switchery-cyan'));82 elemsCyan.forEach(function(html) {83 var switchery = new Switchery(html, { color: Pleasure.colors.cyan });84 });85 },86 teal: function () {87 var elemsTeal = Array.prototype.slice.call(document.querySelectorAll('.switchery-teal'));88 elemsTeal.forEach(function(html) {89 var switchery = new Switchery(html, { color: Pleasure.colors.teal });90 });91 },92 green: function () {93 var elemsGreen = Array.prototype.slice.call(document.querySelectorAll('.switchery-green'));94 elemsGreen.forEach(function(html) {95 var switchery = new Switchery(html, { color: Pleasure.colors.green });96 });97 },98 lightGreen: function () {99 var elemsLightGreen = Array.prototype.slice.call(document.querySelectorAll('.switchery-light-green'));100 elemsLightGreen.forEach(function(html) {101 var switchery = new Switchery(html, { color: Pleasure.colors.light_green });102 });103 },104 lime: function () {105 var elemsLime = Array.prototype.slice.call(document.querySelectorAll('.switchery-lime'));106 elemsLime.forEach(function(html) {107 var switchery = new Switchery(html, { color: Pleasure.colors.lime });108 });109 },110 yellow: function () {111 var elemsYellow = Array.prototype.slice.call(document.querySelectorAll('.switchery-yellow'));112 elemsYellow.forEach(function(html) {113 var switchery = new Switchery(html, { color: Pleasure.colors.yellow });114 });115 },116 amber: function () {117 var elemsAmber = Array.prototype.slice.call(document.querySelectorAll('.switchery-amber'));118 elemsAmber.forEach(function(html) {119 var switchery = new Switchery(html, { color: Pleasure.colors.amber });120 });121 },122 orange: function () {123 var elemsOrange = Array.prototype.slice.call(document.querySelectorAll('.switchery-orange'));124 elemsOrange.forEach(function(html) {125 var switchery = new Switchery(html, { color: Pleasure.colors.orange });126 });127 },128 deepOrange: function () {129 var elemesDeepOrange = Array.prototype.slice.call(document.querySelectorAll('.switchery-deep-orange'));130 elemesDeepOrange.forEach(function(html) {131 var switchery = new Switchery(html, { color: Pleasure.colors.deep_orange });132 });133 },134 brown: function () {135 var elemsBrown = Array.prototype.slice.call(document.querySelectorAll('.switchery-brown'));136 elemsBrown.forEach(function(html) {137 var switchery = new Switchery(html, { color: Pleasure.colors.brown });138 });139 },140 grey: function () {141 var elemsGrey = Array.prototype.slice.call(document.querySelectorAll('.switchery-grey'));142 elemsGrey.forEach(function(html) {143 var switchery = new Switchery(html, { color: Pleasure.colors.grey });144 });145 },146 blueGrey: function () {147 var elemsBlueGrey = Array.prototype.slice.call(document.querySelectorAll('.switchery-blue-grey'));148 elemsBlueGrey.forEach(function(html) {149 var switchery = new Switchery(html, { color: Pleasure.colors.blue_grey });150 });151 },152 init: function () {153 this.default();154 this.primary();155 this.info();156 this.success();157 this.warning();158 this.danger();159 this.red();160 this.pink();161 this.purple();...

Full Screen

Full Screen

Using AI Code Generation

copy

Full Screen

1var args = Array.prototype.slice.call(arguments);2var args = Array.prototype.slice.call(arguments);3var args = Array.prototype.slice.call(arguments);4var args = Array.prototype.slice.call(arguments);5var args = Array.prototype.slice.call(arguments);6var args = Array.prototype.slice.call(arguments);7var args = Array.prototype.slice.call(arguments);8var args = Array.prototype.slice.call(arguments);9var args = Array.prototype.slice.call(arguments);10var args = Array.prototype.slice.call(arguments);11var args = Array.prototype.slice.call(arguments);12var args = Array.prototype.slice.call(arguments);13var args = Array.prototype.slice.call(arguments);14var args = Array.prototype.slice.call(arguments);15var args = Array.prototype.slice.call(arguments);16var args = Array.prototype.slice.call(arguments);17var args = Array.prototype.slice.call(arguments);18var args = Array.prototype.slice.call(arguments);19var args = Array.prototype.slice.call(arguments);20var args = Array.prototype.slice.call(arguments);21var args = Array.prototype.slice.call(arguments);22var args = Array.prototype.slice.call(arguments);

Full Screen

Using AI Code Generation

copy

Full Screen

1var args = Array.prototype.slice.call(arguments);2var args = Array.prototype.slice.call(arguments, 0);3var args = Array.prototype.slice.call(arguments, 1);4var args = Array.prototype.slice.call(arguments, 2);5var args = Array.prototype.slice.call(arguments, 3);6var args = Array.prototype.slice.call(arguments, 4);7var args = Array.prototype.slice.call(arguments);8var args = Array.prototype.slice.call(arguments, 0);9var args = Array.prototype.slice.call(arguments, 1);10var args = Array.prototype.slice.call(arguments, 2);11var args = Array.prototype.slice.call(arguments, 3);12var args = Array.prototype.slice.call(arguments, 4);13var args = Array.prototype.slice.call(arguments);14var args = Array.prototype.slice.call(arguments, 0);15var args = Array.prototype.slice.call(arguments, 1);16var args = Array.prototype.slice.call(arguments, 2);17var args = Array.prototype.slice.call(arguments, 3);18var args = Array.prototype.slice.call(arguments, 4);19var args = Array.prototype.slice.call(arguments);20var args = Array.prototype.slice.call(arguments, 0);21var args = Array.prototype.slice.call(arguments, 1);22var args = Array.prototype.slice.call(arguments, 2);23var args = Array.prototype.slice.call(arguments, 3);24var args = Array.prototype.slice.call(arguments, 4);25var args = Array.prototype.slice.call(arguments);26var args = Array.prototype.slice.call(arguments, 0);27var args = Array.prototype.slice.call(arguments, 1);28var args = Array.prototype.slice.call(arguments, 2);29var args = Array.prototype.slice.call(arguments, 3);30var args = Array.prototype.slice.call(arguments, 4);31var args = Array.prototype.slice.call(arguments);32var args = Array.prototype.slice.call(arguments, 0);33var args = Array.prototype.slice.call(arguments

Full Screen

Using AI Code Generation

copy

Full Screen

1var arr = [1,2,3];2var arr2 = Array.prototype.slice.call(arr);3var arr = [1,2,3];4var arr2 = Array.from(arr);5var arr = [1,2,3];6var arr2 = [...arr];7var obj = {a: 1, b: 2};8var obj2 = Object.assign({}, obj);9var obj = {a: 1, b: 2};10var obj2 = {...obj};11var obj = {a: 1, b: 2};12var obj2 = Object.assign({}, obj, {c: 3});13var obj = {a: 1, b: 2};14var obj2 = {...obj, c: 3};15var arr = [1,2,3];16var arr2 = [];17arr.forEach(function(item) {18 arr2.push(item);19});20var arr = [1,2,3];21var arr2 = arr.map(function(item) {22 return item;23});

Full Screen

Using AI Code Generation

copy

Full Screen

1var arr = [1,2,3,4,5];2var arr2 = Array.prototype.slice.call(arr, 0);3console.log(arr2);4var arr = [1,2,3,4,5];5var arr2 = Array.prototype.slice.call(arr, 0);6console.log(arr2);7var arr = [1,2,3,4,5];8var arr2 = Array.prototype.slice.call(arr, 0);9console.log(arr2);10var arr = [1,2,3,4,5];11var arr2 = Array.prototype.slice.call(arr, 0);12console.log(arr2);13var arr = [1,2,3,4,5];14var arr2 = Array.prototype.slice.call(arr, 0);15console.log(arr2);16var arr = [1,2,3,4,5];17var arr2 = Array.prototype.slice.call(arr, 0);18console.log(arr2);19var arr = [1,2,3,4,5];20var arr2 = Array.prototype.slice.call(arr, 0);21console.log(arr2);22var arr = [1,2,3,4,5];23var arr2 = Array.prototype.slice.call(arr, 0);24console.log(arr2);25var arr = [1,2,3,4,5];26var arr2 = Array.prototype.slice.call(arr, 0);27console.log(arr2);28var arr = [1,2,3,4,5];29var arr2 = Array.prototype.slice.call(arr, 0);30console.log(arr

Full Screen

Using AI Code Generation

copy

Full Screen

1function test(){2var args = Array.prototype.slice.call(arguments);3console.log(args);4}5test(1,2,3,4,5);6function test(){7var args = Array.from(arguments);8console.log(args);9}10test(1,2,3,4,5);11function test(){12var args = [...arguments];13console.log(args);14}15test(1,2,3,4,5);16function test(){17var args = Array.prototype.map.call(arguments, function(arg){18return arg;19});20console.log(args);21}22test(1,2,3,4,5);23function test(){24var args = Array.prototype.filter.call(arguments, function(arg){25return arg;26});27console.log(args);28}29test(1,2,3,4,5);30function test(){31var args = Array.prototype.reduce.call(arguments, function(acc, arg){32return acc.concat(arg);33}, []);34console.log(args);35}36test(1,2,3,4,5);37function test(){38var args = Array.prototype.reduceRight.call(arguments, function(acc, arg){39return acc.concat(arg);40}, []);41console.log(args);42}43test(1,2,3,4,5);

Full Screen

Using AI Code Generation

copy

Full Screen

1function test() {2 var args = Array.prototype.slice.call(arguments);3 console.log(args);4}5test(1, 2, 3);6function test2(...args) {7 console.log(args);8}9test2(1, 2, 3);10function test3(a, b, ...args) {11 console.log(args);12}13test3(1, 2, 3);14function test4(a, b, ...args) {15 console.log(args);16}17test4(1, 2, 3, 4, 5, 6);18function test5(a, b, ...args) {19 console.log(args);20}21test5(1, 2, 3, 4, 5, 6, 7, 8, 9);22function test6(a, b, ...args) {23 console.log(args);24}25test6(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);26function test7(a, b, ...args) {27 console.log(args);28}29test7(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11);

Full Screen

Using AI Code Generation

copy

Full Screen

1var coverageData = require('istanbul').Collector.getFinalCoverage();2console.log(coverageData);3var coverageData = require('istanbul').Collector.getFinalCoverage();4console.log(coverageData);5var coverageData = require('istanbul').Collector.getFinalCoverage();6console.log(coverageData);7var coverageData = require('istanbul').Collector.getFinalCoverage();8console.log(coverageData);9var coverageData = require('istanbul').Collector.getFinalCoverage();10console.log(coverageData);11var coverageData = require('istanbul').Collector.getFinalCoverage();12console.log(coverageData);13var coverageData = require('istanbul').Collector.getFinalCoverage();14console.log(coverageData);15var coverageData = require('istanbul').Collector.getFinalCoverage();16console.log(coverageData);17var coverageData = require('istanbul').Collector.getFinalCoverage();18console.log(coverageData);19var coverageData = require('istanbul').Collector.getFinalCoverage();20console.log(coverageData);21var coverageData = require('istanbul').Collector.getFinalCoverage();22console.log(coverageData);23var coverageData = require('istanbul').Collector

Full Screen

Using AI Code Generation

copy

Full Screen

1var x = [1,2,3,4,5];2var y = Array.prototype.slice.call(x, 1, 2);3console.log(y);4var x = [1,2,3,4,5];5var y = Array.prototype.slice.call(x, 1, 2);6console.log(y);7var x = [1,2,3,4,5];8var y = Array.prototype.slice.call(x, 1, 2);9console.log(y);10var x = [1,2,3,4,5];11var y = Array.prototype.slice.call(x, 1, 2);12console.log(y);13var x = [1,2,3,4,5];14var y = Array.prototype.slice.call(x, 1, 2);15console.log(y);16var x = [1,2,3,4,5];17var y = Array.prototype.slice.call(x, 1, 2);18console.log(y);19var x = [1,2,3,4,5];20var y = Array.prototype.slice.call(x, 1, 2);21console.log(y);22var x = [1,2,3,4,5];23var y = Array.prototype.slice.call(x, 1, 2);24console.log(y);25var x = [1,2,3,4,5];

Full Screen

Using AI Code Generation

copy

Full Screen

1var args = Array.prototype.slice.call(arguments);2var args = Array.prototype.slice.call(arguments);3var args = Array.prototype.slice.call(arguments);4var args = Array.prototype.slice.call(arguments);5var args = Array.prototype.slice.call(arguments);6var args = Array.prototype.slice.call(arguments);

Full Screen

Using AI Code Generation

copy

Full Screen

1const istanbul = require('istanbul');2const instrumenter = new istanbul.Instrumenter();3const fs = require('fs');4const testFile = fs.readFileSync('./test.js', 'utf8');5const instrumentedCode = instrumenter.instrumentSync(testFile, './test.js');6console.log(instrumentedCode);7const istanbul = require('istanbul');8const instrumenter = new istanbul.Instrumenter();9const fs = require('fs');10const testFile = fs.readFileSync('./test.js', 'utf8');11const instrumentedCode = instrumenter.instrumentSync(testFile, './test.js');12console.log(instrumentedCode);13const istanbul = require('istanbul');14const instrumenter = new istanbul.Instrumenter();15const fs = require('fs');16const testFile = fs.readFileSync('./test.js', 'utf8');17const instrumentedCode = instrumenter.instrumentSync(testFile, './test.js');18console.log(instrumentedCode);19const istanbul = require('istanbul');20const instrumenter = new istanbul.Instrumenter();21const fs = require('fs');22const testFile = fs.readFileSync('./test.js', 'utf8');23const instrumentedCode = instrumenter.instrumentSync(testFile, './test.js');24console.log(instrumentedCode);25const istanbul = require('istanbul');26const instrumenter = new istanbul.Instrumenter();27const fs = require('fs');28const testFile = fs.readFileSync('./test.js', 'utf8');29const instrumentedCode = instrumenter.instrumentSync(testFile, './test.js');30console.log(instrumentedCode);

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run istanbul automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful