MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / Sb

Function Sb

CustomerManager/test/lib/angular.js:96–96  ·  view source on GitHub ↗
(b, a)

Source from the content-addressed store, hash-verified

94 f = !a; b = (b = tb(b, !e)) && b.data; if (d) b[a] = c; else { if (f) return b; if (e) return b && b[a]; E(b, a) }
95 }
96 } function Rb(b, a) { return b.getAttribute ? -1 < (" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").indexOf(" " + a + " ") : !1 } function Sb(b, a) { a && b.setAttribute && r(a.split(" "), function (a) { b.setAttribute("class", U((" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ").replace(" " + U(a) + " ", " "))) }) } function Tb(b, a) {
97 if (a && b.setAttribute) {
98 var c = (" " + (b.getAttribute("class") || "") + " ").replace(/[\n\t]/g, " ");
99 r(a.split(" "), function (a) { a = U(a); -1 === c.indexOf(" " + a + " ") && (c += a + " ") }); b.setAttribute("class", U(c))

Callers 1

angular.jsFile · 0.85

Calls 2

rFunction · 0.70
UFunction · 0.70

Tested by

no test coverage detected