lib/web.route.handler.js
function loadInlineCss(rootDir, apps) {
    _.each(apps, function (app, appName) {
        _.each(app.routes, function (route) {
            var filePath = rootDir + '/app/' + appName + '/inline/' + route.name + '.css';
            if (route.inline && fs.existsSync(filePath)) {
                inlineCssCache[appName + '||' + route.name] = fs.readFileSync(filePath, { encoding: 'utf8' });
            }
        });
    });
}
function loadInlineCss(rootDir, apps) {
    _.each(apps, function (app, appName) {
        _.each(app.routes, function (route) {
            var filePath = rootDir + '/app/' + appName + '/inline/' + route.name + '.css';
            if (route.inline && fs.existsSync(filePath)) {
                inlineCssCache[appName + '||' + route.name] = fs.readFileSync(filePath, { encoding: 'utf8' });
            }
        });
    });
}
function loadInlineCss ( rootDir , apps ) { _ . each ( apps , function ( app , appName ) { _ . each ( app . routes , function ( route ) { var filePath = rootDir + '/app/' + appName + '/inline/' + route . name + '.css' ; if ( route . inline && fs . existsSync ( filePath ) ) { inlineCssCache [ appName + '||' + route . name ] = fs . readFileSync ( filePath , { encoding : 'utf8' } ) ; } } ) ; } ) ; }
Load all inline css files from the file system
@param rootDir
@param apps
Load all inline css files from the file system