Skip to content

Commit

Permalink
- fix trailing blanks
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24834 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Feb 27, 2015
1 parent 9fa7954 commit daa3a56
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Compiler/BackEnd/DumpHTML.mo
@@ -1,21 +1,21 @@
/*
* 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.
*
* 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.
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit daa3a56

Please sign in to comment.