Thanks for the info. 

Would that be a problem with the doxygen markup in my code or a problem with 
doxygen itself?

-----Original Message-----
From: Stefan Pendl <stefan.pendl...@gmail.com> 
Sent: Wednesday, August 15, 2018 5:19 AM
To: doxygen-users@lists.sourceforge.net
Subject: Re: [Doxygen-users] HTML error

Am 14.08.2018 um 23:03 schrieb marc.jor...@microchip.com:
> I generate html and a chm with Doxygen 1.8.14 and whenever I open the 
> chm I get the following error on every single page:
> 
>      Script Error
> 
>      Error: The value of the property '$' is null or undefined, not a 
> Function object
> 
> If I look at the html I see the following in each file:
> 
>      <script type="text/javascript">
> 
>      /* @license
> magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gp
> l-2.0.txt
> GPL-v2 */
> 
>      $(function() {
> 
>        initMenu('',false,false,'search.php','Search');
> 
>      });
> 
>      /* @license-end */</script>
> 

It seems that a placeholder was not replaced correctly.

The code should more look like the following:

<script type="text/javascript">
/* @license
magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt
GPL-v2 */

function() {
     initMenu('',false,false,'search.php','Search');
};

/* @license-end */
</script>

 From my point of view, the definition of function() is overkill.


--
*Stefan P.*

Top-posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, Slashdot.org! http://sdm.link/slashdot 
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to