MCPcopy Index your code
hub / github.com/GoogleTrends/data / hasClass

Function hasClass

Pikaday/pikaday.js:83–86  ·  view source on GitHub ↗
(el, cn)

Source from the content-addressed store, hash-verified

81 },
82
83 hasClass = function(el, cn)
84 {
85 return (' ' + el.className + ' ').indexOf(' ' + cn + ' ') !== -1;
86 },
87
88 addClass = function(el, cn)
89 {

Callers 2

addClassFunction · 0.85
PikadayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…