MCPcopy Create free account
hub / github.com/codecombat/codecombat / attr

Function attr

test/app/lib/surface/Camera.spec.js:107–107  ·  view source on GitHub ↗
(attr)

Source from the content-addressed store, hash-verified

105 const result = [];
106 for (var fov of Array.from(testFOVs)) {
107 var cam = new Camera({attr(attr) { if ('attr' === 'width') { return size.width; } else { return size.height; } }}, angle, fov);
108 checkCameraPos(cam, wop);
109 cam.zoomTo(target, zoom, 0);
110 checkConversionsFromWorldPos(wop, cam);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected