MCPcopy Create free account
hub / github.com/reactjs/react-rails / check

Function check

lib/assets/javascripts/JSXTransformer.js:230–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228 var count = scripts.length;
229
230 function check() {
231 var script, i;
232
233 for (i = 0; i < count; i++) {
234 script = result[i];
235
236 if (script.loaded && !script.executed) {
237 script.executed = true;
238 run(script.content, script.url, script.options);
239 } else if (!script.loaded && !script.error && !script.async) {
240 break;
241 }
242 }
243 }
244
245 scripts.forEach(function(script, i) {
246 var options = {

Callers 1

loadScriptsFunction · 0.85

Calls 1

runFunction · 0.85

Tested by

no test coverage detected