popup/popup.js
/**
 * Escapes the path for windows directories.
 *
 * @param path
 * @returns {string} escaped path
 */
Escapes the path for windows directories.
@param path
@returns {string} escaped path
Escapes the path for windows directories . @param path @returns { string } escaped path
function escapeWinPath(path, isDirPath) {
    path = path.replace(/([:])/g, " -");
    path = path.replace(/([/\\|])/g, "_");
    path = path.replace(/([<>"?*])/g, "'");
    if (isDirPath) {
        path = path.replace(/([.])/g, "");
    }
    return path;
}
function escapeWinPath ( path , isDirPath ) { path = path . replace ( / ([:]) / g , " -" ) ; path = path . replace ( / ([/\\|]) / g , "_" ) ; path = path . replace ( / ([<>"?*]) / g , "'" ) ; if ( isDirPath ) { path = path . replace ( / ([.]) / g , "" ) ; } return path ; }
Escapes the path for windows directories.
Escapes the path for windows directories .