docs/release/framework/vcomet/vcomet.js
function (evt) {
          //Using currentTarget instead of target for Firefox 2.0's sake. Not
          //all old browsers will be supported, but this one was easy enough
          //to support and still makes sense.
          if (
            evt.type === "load" ||
            readyRegExp.test((evt.currentTarget || evt.srcElement).readyState)
          ) {
            //Reset interactive script so a script node is not held onto for
            //to long.
            interactiveScript = null;

            //Pull out the name of the module and the context.
            var data = getScriptData(evt);
            context.completeLoad(data.id);
          }
        }
function (evt) {
          //Using currentTarget instead of target for Firefox 2.0's sake. Not
          //all old browsers will be supported, but this one was easy enough
          //to support and still makes sense.
          if (
            evt.type === "load" ||
            readyRegExp.test((evt.currentTarget || evt.srcElement).readyState)
          ) {
            //Reset interactive script so a script node is not held onto for
            //to long.
            interactiveScript = null;

            //Pull out the name of the module and the context.
            var data = getScriptData(evt);
            context.completeLoad(data.id);
          }
        }
function ( evt ) { //Using currentTarget instead of target for Firefox 2.0's sake. Not //all old browsers will be supported, but this one was easy enough //to support and still makes sense. if ( evt . type === "load" || readyRegExp . test ( ( evt . currentTarget || evt . srcElement ) . readyState ) ) { //Reset interactive script so a script node is not held onto for //to long. interactiveScript = null ; //Pull out the name of the module and the context. var data = getScriptData ( evt ) ; context . completeLoad ( data . id ) ; } }
callback for script loads, used to check status of loading.

@param {Event} evt the event from the browser for the script
that was loaded.
callback for script loads used to check status of loading .