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

Function getNoValidLoaderMessage

docs/app/js/sanddance-app.js:57068–57074  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

57066 return loader;
57067}
57068function getNoValidLoaderMessage(data) {
57069 var _getResourceUrlAndTyp2 = (0, _resourceUtils.getResourceUrlAndType)(data), url = _getResourceUrlAndTyp2.url, type = _getResourceUrlAndTyp2.type;
57070 var message = "No valid loader found";
57071 if (data) message += ' data: "'.concat(getFirstCharacters(data), '", contentType: "').concat(type, '"');
57072 if (url) message += " url: ".concat(url);
57073 return message;
57074}
57075function normalizeLoaders(loaders) {
57076 var _iterator = _createForOfIteratorHelper(loaders), _step;
57077 try {

Callers 2

_selectLoaderFunction · 0.70
selectLoaderSyncFunction · 0.70

Calls 1

getFirstCharactersFunction · 0.70

Tested by

no test coverage detected