public/build/static/application.js
function getScriptData(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.
            var node = evt.currentTarget || evt.srcElement;

            //Remove the listeners once here.
            removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
            removeListener(node, context.onScriptError, 'error');

            return {
                node: node,
                id: node && node.getAttribute('data-requiremodule')
            };
        }
function getScriptData(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.
            var node = evt.currentTarget || evt.srcElement;

            //Remove the listeners once here.
            removeListener(node, context.onScriptLoad, 'load', 'onreadystatechange');
            removeListener(node, context.onScriptError, 'error');

            return {
                node: node,
                id: node && node.getAttribute('data-requiremodule')
            };
        }
function getScriptData ( 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. var node = evt . currentTarget || evt . srcElement ; //Remove the listeners once here. removeListener ( node , context . onScriptLoad , 'load' , 'onreadystatechange' ) ; removeListener ( node , context . onScriptError , 'error' ) ; return { node : node , id : node && node . getAttribute ( 'data-requiremodule' ) } ; }
Given an event from a script node, get the requirejs info from it,
and then removes the event listeners on the node.
@param {Event} evt
@returns {Object}
Given an event from a script node get the requirejs info from it and then removes the event listeners on the node .