diff options
author | zachwick <zach@zachwick.com> | 2017-05-15 13:41:00 (GMT) |
---|---|---|
committer | zachwick <zach@zachwick.com> | 2017-08-04 15:59:17 (GMT) |
commit | 6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627 (patch) | |
tree | d689c6a54e319027ae89408a318f2f978641c510 /templates/html/dynsections.js | |
parent | 0072ba56aa994208b61515c60b6cbfaee2244d4d (diff) | |
download | Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.zip Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.tar.gz Doxygen-6b5617e5a4c87afd2c7f2f7b8cb03de2b6735627.tar.bz2 |
Marks JS as freely licensed
Marking the resulting JS in this way ensures that visitors to the
resulting HTML documentation do not have to choose between running
non-free JS and experiencing the HTML documentation as it was
intended.
The JS was already freely licensed, so this change just
ensures that the appropriate labelling occurs so that GNU LibreJS [0]
parses the JS correctly as freely licensed.
[0] https://www.gnu.org/software/librejs/
Signed-off-by: zachwick <zach@zachwick.com>
Diffstat (limited to 'templates/html/dynsections.js')
-rw-r--r-- | templates/html/dynsections.js | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/templates/html/dynsections.js b/templates/html/dynsections.js index 85e1836..ea0a7b3 100644 --- a/templates/html/dynsections.js +++ b/templates/html/dynsections.js @@ -1,3 +1,26 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ function toggleVisibility(linkObj) { var base = $(linkObj).attr('id'); @@ -15,7 +38,7 @@ function toggleVisibility(linkObj) summary.hide(); $(linkObj).removeClass('closed').addClass('opened'); $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } + } return false; } @@ -94,4 +117,4 @@ function toggleInherit(id) $(img).attr('src',src.substring(0,src.length-10)+'open.png'); } } - +/* @license-end */ |