Removed Zepto from Overview

This commit is contained in:
ポール ウェッブ 2018-10-01 17:53:23 -05:00
parent 9ec7c62057
commit 90c3cd5e03
6 changed files with 20 additions and 16 deletions

View file

@ -1,10 +1,12 @@
/* global $ */ "use strict"; "use strict";
$("[data-action]").on("click", event => { document.addEventListener("click", event => {
if (!event.target.dataset.action) return;
event.preventDefault(); event.preventDefault();
const data = event.currentTarget.dataset; const data = event.target.dataset;
switch(data.action) { switch(data.action) {
case "open": case "open":
@ -197,14 +199,18 @@ for (const module of mainModules) {
if ( if (
module[Object.keys(module)] === "true" && module[Object.keys(module)] === "true" &&
document.querySelector(`.ecosystem__module.${Object.keys(module)} h2 span`) document.querySelector(`.ecosystem__module.${Object.keys(module)} h2 span`)
) document.querySelector(`.ecosystem__module.${Object.keys(module)} h2 span`).click(); ) {
document.querySelector(`.ecosystem__module.${Object.keys(module)} h2 span`).click();
}
} }
for (const subModule of subModules) { for (const subModule of subModules) {
if ( if (
subModule[Object.keys(subModule)] === "true" && subModule[Object.keys(subModule)] === "true" &&
document.querySelector(`.ecosystem__submodule.${Object.keys(subModule)} h3`) document.querySelector(`.ecosystem__submodule.${Object.keys(subModule)} h3`)
) document.querySelector(`.ecosystem__submodule.${Object.keys(subModule)} h3`).click(); ) {
document.querySelector(`.ecosystem__submodule.${Object.keys(subModule)} h3`).click();
}
} }

View file

@ -12,10 +12,10 @@ module.exports = exports = () => `
<div class="ecosystem__submodule__markdown"> <div class="ecosystem__submodule__markdown">
<h4 class="ecosystem__submodule__description__title">Overview</h4> <h4 class="ecosystem__submodule__description__title">Overview</h4>
<p>The model of Chainquery at its foundation consists of the fundamental data types found in the blockchain. This information is then expounded on with additional columns and tables that make querying the data much easier.</p> <p>The model of Chainquery at its foundation consists of the fundamental data types found in the blockchain. This information is then expounded on with additional columns and tables that make querying the data much easier.</p>
<h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4> <h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4>
<p class="__connection-details"></p> <p class="__connection-details"></p>
<h4 class="ecosystem__submodule__description__title">Source</h4> <h4 class="ecosystem__submodule__description__title">Source</h4>
<ul> <ul>
<li><a href="https://github.com/lbryio/chainquery" title="chainquery source code">https://github.com/lbryio/chainquery</a></li> <li><a href="https://github.com/lbryio/chainquery" title="chainquery source code">https://github.com/lbryio/chainquery</a></li>

View file

@ -12,10 +12,10 @@ module.exports = exports = () => `
<div class="ecosystem__submodule__markdown"> <div class="ecosystem__submodule__markdown">
<h4 class="ecosystem__submodule__description__title">Overview</h4> <h4 class="ecosystem__submodule__description__title">Overview</h4>
<p>Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.</p> <p>Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.</p>
<h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4> <h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4>
<p class="__connection-details"></p> <p class="__connection-details"></p>
<h4 class="ecosystem__submodule__description__title">Source</h4> <h4 class="ecosystem__submodule__description__title">Source</h4>
<ul> <ul>
<li><a href="https://github.com/lbryio/lighthouse" title="lighthouse source code">https://github.com/lbryio/lighthouse</a></li> <li><a href="https://github.com/lbryio/lighthouse" title="lighthouse source code">https://github.com/lbryio/lighthouse</a></li>

View file

@ -12,10 +12,10 @@ module.exports = exports = () => `
<div class="ecosystem__submodule__markdown"> <div class="ecosystem__submodule__markdown">
<h4 class="ecosystem__submodule__description__title">Overview</h4> <h4 class="ecosystem__submodule__description__title">Overview</h4>
<p>A reflector cluster to accept LBRY content for hosting en masse, rehost the content, and make money on data fees (TODO). This code includes Go implementations of the LBRY peer protocol, reflector protocol, and DHT.</p> <p>A reflector cluster to accept LBRY content for hosting en masse, rehost the content, and make money on data fees (TODO). This code includes Go implementations of the LBRY peer protocol, reflector protocol, and DHT.</p>
<h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4> <h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4>
<p class="__connection-details"></p> <p class="__connection-details"></p>
<h4 class="ecosystem__submodule__description__title">Source</h4> <h4 class="ecosystem__submodule__description__title">Source</h4>
<ul> <ul>
<li><a href="https://github.com/lbryio/reflector.go" title="reflector source code">https://github.com/lbryio/reflector.go</a></li> <li><a href="https://github.com/lbryio/reflector.go" title="reflector source code">https://github.com/lbryio/reflector.go</a></li>

View file

@ -12,16 +12,16 @@ module.exports = exports = () => `
<div class="ecosystem__submodule__markdown"> <div class="ecosystem__submodule__markdown">
<h4 class="ecosystem__submodule__description__title">Overview</h4> <h4 class="ecosystem__submodule__description__title">Overview</h4>
<p>The LBRY app is a graphical browser for the decentralized content marketplace provided by the <a href="https://lbry.io" title="">LBRY</a> protocol. It is essentially the <a href="https://github.com/lbryio/lbry" title="">lbry daemon</a> bundled with an UI using <a href="http://electron.atom.io" title="">Electron</a>.</p> <p>The LBRY app is a graphical browser for the decentralized content marketplace provided by the <a href="https://lbry.io" title="">LBRY</a> protocol. It is essentially the <a href="https://github.com/lbryio/lbry" title="">lbry daemon</a> bundled with an UI using <a href="http://electron.atom.io" title="">Electron</a>.</p>
<h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4> <h4 class="ecosystem__submodule__description__title __connection">Connection to...</h4>
<p class="__connection-details"></p> <p class="__connection-details"></p>
<h4 class="ecosystem__submodule__description__title">Source</h4> <h4 class="ecosystem__submodule__description__title">Source</h4>
<ul> <ul>
<li><a href="https://github.com/lbryio/lbry-desktop" title="lbry-desktop source code">https://github.com/lbryio/lbry-desktop</a></li> <li><a href="https://github.com/lbryio/lbry-desktop" title="lbry-desktop source code">https://github.com/lbryio/lbry-desktop</a></li>
</ul> </ul>
</div> </div>
<ul class="__parents"> <ul class="__parents">
<li class="__parent green" data-action="open" data-target="applications">Applications</li> <li class="__parent green" data-action="open" data-target="applications">Applications</li>
<li class="__parent red" data-action="open" data-target="lbrycrd">Blockchain</li> <li class="__parent red" data-action="open" data-target="lbrycrd">Blockchain</li>

View file

@ -36,8 +36,6 @@ document.querySelector(".api__toc__search__clear").addEventListener("click", ()
// H E L P E R // H E L P E R
// Reinitialize search functionality
function reinitJets() { function reinitJets() {
jets = new Jets({ jets = new Jets({
contentTag: "#toc", contentTag: "#toc",