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