MCPcopy Create free account
hub / github.com/BlaNKtext/webosu / getInteractiveScript

Function getInteractiveScript

js/lib/require.js:1994–2005  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1992 };
1993
1994 function getInteractiveScript() {
1995 if (interactiveScript && interactiveScript.readyState === 'interactive') {
1996 return interactiveScript;
1997 }
1998
1999 eachReverse(scripts(), function (script) {
2000 if (script.readyState === 'interactive') {
2001 return (interactiveScript = script);
2002 }
2003 });
2004 return interactiveScript;
2005 }
2006
2007 //Look for a data-main script attribute, which could also adjust the baseUrl.
2008 if (isBrowser && !cfg.skipDataMain) {

Callers 1

require.jsFile · 0.85

Calls 2

eachReverseFunction · 0.85
scriptsFunction · 0.85

Tested by

no test coverage detected