MCPcopy Create free account
hub / github.com/breck7/scroll / joinClasses

Function joinClasses

external/.scrollLibs.js:624–632  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

622 }
623 }
624 function joinClasses(a, b) {
625 var as = a.split(" ")
626 for (var i = 0; i < as.length; i++) {
627 if (as[i] && !classTest(as[i]).test(b)) {
628 b += " " + as[i]
629 }
630 }
631 return b
632 }
633
634 var selectInput = function (node) {
635 node.select()

Callers 1

buildLineContentFunction · 0.85

Calls 2

classTestFunction · 0.85
splitMethod · 0.80

Tested by

no test coverage detected