From e7f80b6f125672e2c1a827168ad69ddf1cf66422 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 15 Sep 2014 21:26:16 -0400 Subject: Add latest maven site. --- latest/sangria-contextual/apidocs/script.js | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 latest/sangria-contextual/apidocs/script.js (limited to 'latest/sangria-contextual/apidocs/script.js') diff --git a/latest/sangria-contextual/apidocs/script.js b/latest/sangria-contextual/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/latest/sangria-contextual/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} -- cgit v1.2.3