mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Merge branch 4.x
This commit is contained in:
@@ -45,18 +45,23 @@
|
||||
@CMAKE_CONFIG_OPENCV_JAVADOC_LINK@
|
||||
additionalparam="--allow-script-in-comments"
|
||||
>
|
||||
<Header>
|
||||
<bottom>
|
||||
<![CDATA[
|
||||
<script>
|
||||
var url = window.location.href;
|
||||
var pos = url.lastIndexOf('/javadoc/');
|
||||
url = pos >= 0 ? (url.substring(0, pos) + '/javadoc/mymath.js') : (window.location.origin + '/mymath.js');
|
||||
var script = document.createElement('script');
|
||||
script.src = '@OPENCV_MATHJAX_RELPATH@/es5/tex-chtml.js,' + url;
|
||||
document.getElementsByTagName('head')[0].appendChild(script);
|
||||
script.setAttribute("src", url);
|
||||
script.setAttribute("defer", "")
|
||||
document.head.appendChild(script);
|
||||
script = document.createElement('script');
|
||||
script.setAttribute("src", '@OPENCV_MATHJAX_RELPATH@/es5/tex-chtml.js');
|
||||
script.setAttribute("defer", "")
|
||||
document.head.appendChild(script);
|
||||
</script>
|
||||
]]>
|
||||
</Header>
|
||||
</bottom>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user