mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 02:10:35 +05:00
28 lines
492 B
JavaScript
28 lines
492 B
JavaScript
|
// 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)
|
||
|
{
|
||
|
this.sPPath = sProjPath;
|
||
|
this.sRPath = sRootPath;
|
||
|
}
|
||
|
|
||
|
|
||
|
function window_OnLoad()
|
||
|
{
|
||
|
if (parent && parent != this && parent.projReady) {
|
||
|
parent.projReady(gsRoot, gaProj);
|
||
|
}
|
||
|
}
|
||
|
window.onload = window_OnLoad;
|