From daa3a56f57c507d53949917d434b112a92ca78c5 Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Fri, 27 Feb 2015 16:07:04 +0000 Subject: [PATCH] - fix trailing blanks git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24834 f25d12d1-65f4-0310-ae8a-bbce733d8d8e --- Compiler/BackEnd/DumpHTML.mo | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Compiler/BackEnd/DumpHTML.mo b/Compiler/BackEnd/DumpHTML.mo index 65d1d1420a2..d5374d4c8c1 100644 --- a/Compiler/BackEnd/DumpHTML.mo +++ b/Compiler/BackEnd/DumpHTML.mo @@ -1,8 +1,8 @@ /* * This file is part of OpenModelica. * - * Copyright (c) 1998-2014, Open Source Modelica Consortium (OSMC), - * c/o Linköpings universitet, Department of Computer and Information Science, + * Copyright (c) 1998-2014, Open Source Modelica Consortium (OSMC), + * c/o Linköpings universitet, Department of Computer and Information Science, * SE-58183 Linköping, Sweden. * * All rights reserved. @@ -10,12 +10,12 @@ * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF GPL VERSION 3 LICENSE OR * THIS OSMC PUBLIC LICENSE (OSMC-PL) VERSION 1.2. * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS PROGRAM CONSTITUTES - * RECIPIENT'S ACCEPTANCE OF THE OSMC PUBLIC LICENSE OR THE GPL VERSION 3, + * RECIPIENT'S ACCEPTANCE OF THE OSMC PUBLIC LICENSE OR THE GPL VERSION 3, * ACCORDING TO RECIPIENTS CHOICE. * * The OpenModelica software and the Open Source Modelica * Consortium (OSMC) Public License (OSMC-PL) are obtained - * from OSMC, either from the above address, + * from OSMC, either from the above address, * from the URLs: http://www.ida.liu.se/projects/OpenModelica or * http://www.openmodelica.org, and in the OpenModelica distribution. * GNU version 3 is obtained from: http://www.gnu.org/copyleft/gpl.html. @@ -106,8 +106,8 @@ protected constant Document emptyDocument = DOCUMENT("", {}, {}); protected function emtypDocumentWithToggleFunktion "author Frenkel TUD 2012-11" output Document outDoc; algorithm - outDoc := addScript("text/Javascript", - "function toggle(name) {\n var element = document.getElementById(name);\n if (element.style.display == \"none\") {\n // show the div\n element.style.display = \"block\"; \n } else {\n // hide the div\n element.style.display = \"none\";\n // reset element\n element.reset();\n }\n}\n\nfunction show(name) {\n var element = document.getElementById(name);\n if (element.style.display == \"none\") {\n // show the div\n element.style.display = \"block\"; \n }\n return true;\n}\n", + outDoc := addScript("text/Javascript", + "function toggle(name) {\n var element = document.getElementById(name);\n if (element.style.display == \"none\") {\n // show the div\n element.style.display = \"block\"; \n } else {\n // hide the div\n element.style.display = \"none\";\n // reset element\n element.reset();\n }\n}\n\nfunction show(name) {\n var element = document.getElementById(name);\n if (element.style.display == \"none\") {\n // show the div\n element.style.display = \"block\"; \n }\n return true;\n}\n", emptyDocument); end emtypDocumentWithToggleFunktion;