MCPcopy
hub / github.com/Toinane/colorpicker / P

Function P

src/views/js/sortable.js:191–204  ·  view source on GitHub ↗
(t, e, n)

Source from the content-addressed store, hash-verified

189 (t.className = (o + (n ? " " + e : "")).replace(m, " "))));
190 }
191 function P(t, e, n) {
192 var o = t && t.style;
193 if (o) {
194 if (void 0 === n)
195 return (
196 document.defaultView && document.defaultView.getComputedStyle
197 ? (n = document.defaultView.getComputedStyle(t, ""))
198 : t.currentStyle && (n = t.currentStyle),
199 void 0 === e ? n : n[e]
200 );
201 o[(e = !(e in o || -1 !== e.indexOf("webkit")) ? "-webkit-" + e : e)] =
202 n + ("string" == typeof n ? "" : "px");
203 }
204 }
205 function v(t, e) {
206 var n = "";
207 if ("string" == typeof t) n = t;

Callers 11

vFunction · 0.85
kFunction · 0.85
YFunction · 0.85
AFunction · 0.85
CFunction · 0.85
TFunction · 0.85
xFunction · 0.85
ItFunction · 0.85
ktFunction · 0.85
RtFunction · 0.85
sortable.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected