dev/build/tasks/build.lazyload.js
function getScriptElements($typeLazy) {
        var scripts;
        var src = $typeLazy.attr("src");
        if ("js" === getExtension(src).toLowerCase()) {
            return $typeLazy;
        } else {
            src = path.join(grunt.config.get('tmpdir'), src);
            if (fs.existsSync(src)) {
                scripts = jsdom.jsdom(fs.readFileSync(src).toString());
                return $(scripts).find("script");
            } else {
                return $();
            }
        }
    }
function getScriptElements($typeLazy) {
        var scripts;
        var src = $typeLazy.attr("src");
        if ("js" === getExtension(src).toLowerCase()) {
            return $typeLazy;
        } else {
            src = path.join(grunt.config.get('tmpdir'), src);
            if (fs.existsSync(src)) {
                scripts = jsdom.jsdom(fs.readFileSync(src).toString());
                return $(scripts).find("script");
            } else {
                return $();
            }
        }
    }
function getScriptElements ( $typeLazy ) { var scripts ; var src = $typeLazy . attr ( "src" ) ; if ( "js" === getExtension ( src ) . toLowerCase ( ) ) { return $typeLazy ; } else { src = path . join ( grunt . config . get ( 'tmpdir' ) , src ) ; if ( fs . existsSync ( src ) ) { scripts = jsdom . jsdom ( fs . readFileSync ( src ) . toString ( ) ) ; return $ ( scripts ) . find ( "script" ) ; } else { return $ ( ) ; } } }
! get script element.
! get script element .