MCPcopy
hub / github.com/Semantic-Org/Semantic-UI / chkCSS

Function chkCSS

examples/assets/library/iframe-content.js:239–245  ·  view source on GitHub ↗
(attr,value)

Source from the content-addressed store, hash-verified

237
238
239 function chkCSS(attr,value) {
240 if (-1 !== value.indexOf('-')) {
241 warn('Negative CSS value ignored for '+attr);
242 value='';
243 }
244 return value;
245 }
246
247 function setBodyStyle(attr,value) {
248 if ((undefined !== value) && ('' !== value) && ('null' !== value)) {

Callers 1

setMarginFunction · 0.85

Calls 1

warnFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…