MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / possibleConstructorReturn

Function possibleConstructorReturn

code/styling/public/app.js:20132–20138  ·  view source on GitHub ↗
(self, call)

Source from the content-addressed store, hash-verified

20130};
20131
20132var possibleConstructorReturn = function (self, call) {
20133 if (!self) {
20134 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
20135 }
20136
20137 return call && (typeof call === "object" || typeof call === "function") ? call : self;
20138};
20139
20140//
20141/* These are helpers for the StyleTags to keep track of the injected

Callers 5

StyleSheetManagerFunction · 0.85
ThemeProviderFunction · 0.85
BaseStyledComponentFunction · 0.85
StyledComponentFunction · 0.85
WithThemeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected