MCPcopy Create free account
hub / github.com/microsoft/SandDance / _loop

Function _loop

docs/tests/v2/es6/js/sanddance.js:1292–1302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1290
1291 try {
1292 var _loop = function _loop() {
1293 var key = _step.value;
1294
1295 if (typeof obj[key] === 'function') {
1296 if (!predefined.find(function (name) {
1297 return key === name;
1298 })) {
1299 obj[key] = obj[key].bind(obj);
1300 }
1301 }
1302 };
1303
1304 for (var _iterator = propNames[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
1305 _loop();

Callers 3

autobindFunction · 0.70
injectShaderFunction · 0.70
sanddance.jsFile · 0.70

Calls 10

replaceMethod · 0.80
_slicedToArrayFunction · 0.70
resizeImageFunction · 0.70
_definePropertyFunction · 0.70
getTextFunction · 0.50
findMethod · 0.45
filterMethod · 0.45
forEachMethod · 0.45
fromMethod · 0.45
warnMethod · 0.45

Tested by

no test coverage detected