-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
2 lines (2 loc) · 1.41 KB
/
script.js
File metadata and controls
2 lines (2 loc) · 1.41 KB
1
2
function changeIcon(e,n,a){$(e).hasClass(n)?($(e).removeClass(n),$(e).addClass(a)):($(e).removeClass(a),$(e).addClass(n))}function changeIconFuns(e){var n=e.getElementsByTagName("span");n.length>0&&changeIcon(n[0],"fa-arrow-down","fa-arrow-up")}function changeIconRegions(e){var n=e.getElementsByTagName("span");n.length>0&&changeIcon(n[0],"fa-chevron-down","fa-chevron-up")}function updateFooter(){$("#CURRENTYEAR").text((new Date).getFullYear())}$(".panel-heading span.clickable").on("click",function(e){$(this).hasClass("panel-collapsed")?($(this).parents(".panel").find(".panel-scroll").slideDown(),$(this).removeClass("panel-collapsed"),$(this).find("i").removeClass("glyphicon-chevron-down").addClass("glyphicon-chevron-up")):($(this).parents(".panel").find(".panel-scroll").slideUp(),$(this).addClass("panel-collapsed"),$(this).find("i").removeClass("glyphicon-chevron-up").addClass("glyphicon-chevron-down"))}),$(document).ready(function(){updateFooter(),window.location.href.indexOf("example")>-1&&$("body").scrollspy({target:".bs-docs-sidebar",offset:40})});
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-77369969-1', 'auto');ga('send', 'pageview');