MCPcopy Create free account
hub / github.com/microsoft/SandDance / warnBadVendoredStyleName

Function warnBadVendoredStyleName

docs/external/js/react-dom.development.js:4608–4616  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

4606 };
4607
4608 var warnBadVendoredStyleName = function (name) {
4609 if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) {
4610 return;
4611 }
4612
4613 warnedStyleNames[name] = true;
4614
4615 error('Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1));
4616 };
4617
4618 var warnStyleValueWithSemicolon = function (name, value) {
4619 if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) {

Callers 1

Calls 1

errorFunction · 0.70

Tested by

no test coverage detected