MCPcopy
hub / github.com/julianshapiro/velocity / getTarget

Function getTarget

test/test.js:76–91  ·  view source on GitHub ↗
(startValues)

Source from the content-addressed store, hash-verified

74 return Velocity(element, "style", property);
75 }
76 function getTarget(startValues) {
77 var div = document.createElement("div");
78 div.className = "target";
79 div.style.opacity = String(defaultStyles.opacity);
80 div.style.color = "rgb(125, " + defaultStyles.colorGreen + ", 125)";
81 div.style.width = defaultStyles.width + "px";
82 div.style.height = defaultStyles.height + "px";
83 div.style.marginBottom = defaultStyles.marginBottom + "px";
84 div.style.textShadow = "0px 0px " + defaultStyles.textShadowBlur + "px red";
85 $qunitStage.appendChild(div);
86 targets.push(div);
87 if (startValues) {
88 applyStartValues(div, startValues);
89 }
90 return div;
91 }
92 function once(func) {
93 var done = void 0,
94 result = void 0;

Callers 1

test.jsFile · 0.70

Calls 1

applyStartValuesFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…