MCPcopy
hub / github.com/layabox/LayaAir-v1 / tmp

Function tmp

src/plugins/autotest/bin/h5/laya.js:175–181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 _class.length=def[i+1].call(_class);
174 else{
175 function tmp(){
176 var name=def[i];
177 var getfn=def[i+1];
178 Object.defineProperty(_class,name,{
179 get:function(){delete this[name];return this[name]=getfn.call(this);},
180 set:function(v){delete this[name];this[name]=v;},enumerable: true,configurable: true});
181 }
182 tmp();
183 }
184 }

Callers 1

laya.jsFile · 0.70

Calls 1

callMethod · 0.65

Tested by

no test coverage detected