src/extensions/default/RecentProjects/main.js
function renderList() {
        var recentProjects = getRecentProjects(),
            currentProject = FileUtils.stripTrailingSlash(ProjectManager.getProjectRoot().fullPath),
            templateVars   = {
                projectList : [],
                Strings     : Strings
            };

        recentProjects.forEach(function (root) {
            if (root !== currentProject) {
                templateVars.projectList.push(parsePath(root));
            }
        });

        return Mustache.render(ProjectsMenuTemplate, templateVars);
    }
function renderList() {
        var recentProjects = getRecentProjects(),
            currentProject = FileUtils.stripTrailingSlash(ProjectManager.getProjectRoot().fullPath),
            templateVars   = {
                projectList : [],
                Strings     : Strings
            };

        recentProjects.forEach(function (root) {
            if (root !== currentProject) {
                templateVars.projectList.push(parsePath(root));
            }
        });

        return Mustache.render(ProjectsMenuTemplate, templateVars);
    }
function renderList ( ) { var recentProjects = getRecentProjects ( ) , currentProject = FileUtils . stripTrailingSlash ( ProjectManager . getProjectRoot ( ) . fullPath ) , templateVars = { projectList : [ ] , Strings : Strings } ; recentProjects . forEach ( function ( root ) { if ( root !== currentProject ) { templateVars . projectList . push ( parsePath ( root ) ) ; } } ) ; return Mustache . render ( ProjectsMenuTemplate , templateVars ) ; }
Create the list of projects in the dropdown menu.
@return {string} The html content
Create the list of projects in the dropdown menu .