INNER CODE UNIT · Python

lastDl

gurkenlabs/litiengine · config/javadoc/generate_js.py:334

      const lastDl = dls[dls.length - 1];
      let bottomNode = lastDl.nextSibling;
      const footer = main.querySelector('footer');
      while (bottomNode && bottomNode !== footer) {
        const next = bottomNode.nextSibling;
        if (bottomNode.nodeType === Node.ELEMENT_NODE && bottomNode.tagName === 'A') {
          bottomNode.remove();
        } else if (bottomNode.nodeType === Node.TEXT_NODE || (bottomNode.nodeType === Node.ELEMENT_NODE && bottomNode.tagName === 'BR')) {
          bottomNode.remove();
        }
        bottomNode = next;
      }
    }

    const stickyBar = document.createElement('div');
    stickyBar.className = 'index-sticky-bar';

    const letterContainer = document.createElement('div');

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…