MCPcopy
hub / github.com/nbubna/store / getInteractiveScript

Function getInteractiveScript

libs/requirejs.js:1922–1933  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1920 };
1921
1922 function getInteractiveScript() {
1923 if (interactiveScript && interactiveScript.readyState === 'interactive') {
1924 return interactiveScript;
1925 }
1926
1927 eachReverse(scripts(), function (script) {
1928 if (script.readyState === 'interactive') {
1929 return (interactiveScript = script);
1930 }
1931 });
1932 return interactiveScript;
1933 }
1934
1935 //Look for a data-main script attribute, which could also adjust the baseUrl.
1936 if (isBrowser && !cfg.skipDataMain) {

Callers 1

requirejs.jsFile · 0.85

Calls 2

eachReverseFunction · 0.85
scriptsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…