Re: [Doxygen-users] HTML error
Brought to you by:
dimitri
From: <Mar...@mi...> - 2018-08-15 18:03:07
|
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 <ste...@gm...> Sent: Wednesday, August 15, 2018 5:19 AM To: dox...@li... Subject: Re: [Doxygen-users] HTML error Am 14.08.2018 um 23:03 schrieb Mar...@mi...: > 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&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&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 Dox...@li... https://lists.sourceforge.net/lists/listinfo/doxygen-users |