MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / possibleConstructorReturn

Function possibleConstructorReturn

libs/mapv/mapv.js:244–250  ·  view source on GitHub ↗
(self, call)

Source from the content-addressed store, hash-verified

242
243
244var possibleConstructorReturn = function (self, call) {
245 if (!self) {
246 throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
247 }
248
249 return call && (typeof call === "object" || typeof call === "function") ? call : self;
250};
251
252
253

Callers 4

AnimationLayerFunction · 0.70
LayerFunction · 0.70
LayerRendererFunction · 0.70
MapVRendererFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected