function (hook, opts) {
        // args check
        if (!hook) {
            throw new Error('hook type is not specified');
        }
        return getApplicationHookScripts(hook, opts)
            .concat(getPluginsHookScripts(hook, opts));
    }
function (hook, opts) {
        // args check
        if (!hook) {
            throw new Error('hook type is not specified');
        }
        return getApplicationHookScripts(hook, opts)
            .concat(getPluginsHookScripts(hook, opts));
    }
function ( hook , opts ) { // args check if ( ! hook ) { throw new Error ( 'hook type is not specified' ) ; } return getApplicationHookScripts ( hook , opts ) . concat ( getPluginsHookScripts ( hook , opts ) ) ; }
Returns all script files for the hook type specified.
Returns all script files for the hook type specified .