lib/server/assetsProvider.js
function (component) {
            var pathParts = component === 'app' ? ['app'] : ['components'];
            if (component !== 'app') {
                pathParts.push(component);
            }
            pathParts.push('assets');

            return path.resolve(LAZO.FILE_REPO_PATH + path.sep + path.join.apply(this, pathParts));
        }
function (component) {
            var pathParts = component === 'app' ? ['app'] : ['components'];
            if (component !== 'app') {
                pathParts.push(component);
            }
            pathParts.push('assets');

            return path.resolve(LAZO.FILE_REPO_PATH + path.sep + path.join.apply(this, pathParts));
        }
function ( component ) { var pathParts = component === 'app' ? [ 'app' ] : [ 'components' ] ; if ( component !== 'app' ) { pathParts . push ( component ) ; } pathParts . push ( 'assets' ) ; return path . resolve ( LAZO . FILE_REPO_PATH + path . sep + path . join . apply ( this , pathParts ) ) ; }
resolve component path for listing assets directory contents
resolve component path for listing assets directory contents