mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-12 08:39:16 +05:00
31 lines
586 B
JavaScript
Executable File
31 lines
586 B
JavaScript
Executable File
// WebHelp 5.10.001
|
|
// const strings
|
|
var gaProj = new Array();
|
|
var gsRoot = "";
|
|
|
|
function setRoot(sRoot)
|
|
{
|
|
gsRoot = sRoot
|
|
}
|
|
|
|
function aPE(sProjPath, sRootPath)
|
|
{
|
|
gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);
|
|
}
|
|
|
|
function tocProjEntry(sProjPath, sRootPath)
|
|
{
|
|
if(sProjPath.lastIndexOf("/")!=sProjPath.length-1)
|
|
sProjPath+="/";
|
|
this.sPPath = sProjPath;
|
|
this.sRPath = sRootPath;
|
|
}
|
|
|
|
|
|
function window_OnLoad()
|
|
{
|
|
if (parent && parent != this && parent.projReady) {
|
|
parent.projReady(gsRoot, gaProj);
|
|
}
|
|
}
|
|
window.onload = window_OnLoad; |