diff --git a/test/easy_mesh_dictionnary.js b/test/easymeshdictionnary.js similarity index 100% rename from test/easy_mesh_dictionnary.js rename to test/easymeshdictionnary.js diff --git a/test/meshviewer_em.html b/test/meshviewer.em.html similarity index 100% rename from test/meshviewer_em.html rename to test/meshviewer.em.html diff --git a/test/meshviewer_index.html b/test/meshviewer.index.html similarity index 94% rename from test/meshviewer_index.html rename to test/meshviewer.index.html index f069fc4a..09649f7c 100644 --- a/test/meshviewer_index.html +++ b/test/meshviewer.index.html @@ -125,21 +125,27 @@ function machinchose() { return 'test machin '; } function GetiFrameDivEmbed() { return (!g_frame_embed) ? (null) : (g_frame_embed.contentWindow.GetDivEmbed()); } function GetiFrameModuleVar() { return (!g_frame_embed) ? (null) : (g_frame_embed.contentWindow.GetEmbedModule()); } function IsUsingNaCl() { return window.chrome; } - function GetCmdDictionnary() { return CodeDictionnary[g_code_id]; } - - + - + + + + + + @@ -202,11 +208,11 @@ function machinchose() { return 'test machin '; } //NaCl Specific if (IsUsingNaCl()) { - DynLoadFile("nacl_loading.js"); - g_frame_embed.src = 'meshviewer_nacl.html'; + DynLoadFile("naclloading.js"); + g_frame_embed.src = 'meshviewer.nacl.html'; } else - g_frame_embed.src = 'meshviewer_em.html'; + g_frame_embed.src = 'meshviewer.em.html'; g_frame_embed.onload = function() { VarInit(); } diff --git a/test/meshviewer_nacl.html b/test/meshviewer.nacl.html similarity index 88% rename from test/meshviewer_nacl.html rename to test/meshviewer.nacl.html index a9b73960..16222c7c 100644 --- a/test/meshviewer_nacl.html +++ b/test/meshviewer.nacl.html @@ -8,7 +8,7 @@ function GetEmbedModule() { return document.getElementById('id_embed_nacl_modu if (parent.IsUsingNaCl()) parent.NaClLoadingInit();