Re: [Doxygen-users] HTML error
Brought to you by:
dimitri
From: Stefan P. <ste...@gm...> - 2018-08-15 10:19:02
|
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=gpl-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? |