summaryrefslogtreecommitdiffhomepage
path: root/docs/jsapi/scripts/jaguar.js
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-05 10:50:35 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-05 10:50:35 +0100
commit937a51859dc82993aed83c8a2aeb86af30ae6563 (patch)
tree0a1597046339def29635a2c5bba3dc45ab43f4ba /docs/jsapi/scripts/jaguar.js
parentbaa727de93db009f90d70a80a9861758a24eae77 (diff)
docs: add missing jsapi resources, update .gitignore
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'docs/jsapi/scripts/jaguar.js')
-rw-r--r--docs/jsapi/scripts/jaguar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/jsapi/scripts/jaguar.js b/docs/jsapi/scripts/jaguar.js
new file mode 100644
index 0000000000..466e2c4058
--- /dev/null
+++ b/docs/jsapi/scripts/jaguar.js
@@ -0,0 +1 @@
+(function(){var e=0;var t;var n=document.getElementById("source-code");if(n){var i=config.linenums;if(i){n=n.getElementsByTagName("ol")[0];t=Array.prototype.slice.apply(n.children);t=t.map(function(t){e++;t.id="line"+e})}else{n=n.getElementsByTagName("code")[0];t=n.innerHTML.split("\n");t=t.map(function(t){e++;return'<span id="line'+e+'"></span>'+t});n.innerHTML=t.join("\n")}}})();$(function(){$("#search").on("keyup",function(e){var t=$(this).val();var n=$(".navigation");if(t){var i=new RegExp(t,"i");n.find("li, .itemMembers").hide();n.find("li").each(function(e,t){var n=$(t);if(n.data("name")&&i.test(n.data("name"))){n.show();n.closest(".itemMembers").show();n.closest(".item").show()}})}else{n.find(".item, .itemMembers").show()}n.find(".list").scrollTop(0)});$(".navigation").on("click",".title",function(e){$(this).parent().find(".itemMembers").toggle()});var e=$(".page-title").data("filename").replace(/\.[a-z]+$/,"");var t=$('.navigation .item[data-name*="'+e+'"]:eq(0)');if(t.length){t.remove().prependTo(".navigation .list").show().find(".itemMembers").show()}var n=function(){var e=$(window).height();var t=$(".navigation");t.height(e).find(".list").height(e-133)};$(window).on("resize",n);n();if(config.disqus){$(window).on("load",function(){var e=config.disqus;var t=document.createElement("script");t.type="text/javascript";t.async=true;t.src="http://"+e+".disqus.com/embed.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(t);var n=document.createElement("script");n.async=true;n.type="text/javascript";n.src="http://"+e+".disqus.com/count.js";document.getElementsByTagName("BODY")[0].appendChild(n)})}}); \ No newline at end of file