From 87642d4d6248afe9aa994afad013587cc6fd0cdd Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 15 May 2015 09:19:24 +0200 Subject: ICE-6513: Remove oudated cpp/doc --- cpp/doc/symboltree.js | 303 -------------------------------------------------- 1 file changed, 303 deletions(-) delete mode 100644 cpp/doc/symboltree.js (limited to 'cpp/doc/symboltree.js') diff --git a/cpp/doc/symboltree.js b/cpp/doc/symboltree.js deleted file mode 100644 index 7cd821b876b..00000000000 --- a/cpp/doc/symboltree.js +++ /dev/null @@ -1,303 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -var symboltree = new Object(); - -symboltree.id = 'SymbolTree'; -symboltree.cookie = 'SliceSymbolTree'; - -symboltree.main = function() -{ - // - // Look for a collapsible list. - // - symboltree.tree = document.getElementById(symboltree.id); - if(!symboltree.tree) - { - alert('There is no symbol tree on this page.'); - return; - } - - if(symboltree.tree.style) - { - // - // Assign class 'CollapsibleList' to all the unordered lists. - // That way, if the browser does not support DOM, the CCS style - // that removes the bullets and indent does not apply. - // - symboltree.tree.className = 'CollapsibleList'; - var ul = symboltree.tree.getElementsByTagName('ul'); - for(var i = 0; i < ul.length; ++i) - { - ul[i].className = 'CollapsibleList'; - } - } - else - { - return; // Browser doesn't support DOM, don't do anything. - } - - // - // Find all
  • list items. - // - var list = symboltree.tree.getElementsByTagName('li'); - for(var i = 0; i < list.length; ++i) - { - // - // If this list contains sub-lists, it needs a collapse/expand widget. - // - if(list[i].getElementsByTagName('ul').length != 0) - { - // - // Attach an event listener to the widget. - // - symboltree.addHandler(list[i], 'click', symboltree.handleEvent); - - // - // The list starts out collapsed by default. Set state and class name, and - // hide all the entries in this list. - // - list[i].setAttribute('state', 'collapsed'); - list[i].className = 'CollapsedList'; - var children = list[i].childNodes; - for(var j = 0; j < children.length; ++j) - { - if(children[j].tagName == 'UL' || children[j].tagName == 'LI') - { - children[j].style.display = 'none'; - } - } - } - else - { - // - // We have a plain
  • list item without