MCPcopy Index your code
hub / github.com/microsoft/SandDance / warnStyleValueIsInfinity

Function warnStyleValueIsInfinity

docs/external/js/react-dom.development.js:4638–4646  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

4636 };
4637
4638 var warnStyleValueIsInfinity = function (name, value) {
4639 if (warnedForInfinityValue) {
4640 return;
4641 }
4642
4643 warnedForInfinityValue = true;
4644
4645 error('`Infinity` is an invalid value for the `%s` css style property.', name);
4646 };
4647
4648 warnValidStyle = function (name, value) {
4649 if (name.indexOf('-') > -1) {

Callers 1

Calls 1

errorFunction · 0.70

Tested by

no test coverage detected