diff --git a/app/components/client/ecosystem-scripts.js b/app/components/client/ecosystem-scripts.js index a5f91b3..02a195c 100644 --- a/app/components/client/ecosystem-scripts.js +++ b/app/components/client/ecosystem-scripts.js @@ -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(); - const data = event.currentTarget.dataset; + const data = event.target.dataset; switch(data.action) { case "open": @@ -197,14 +199,18 @@ for (const module of mainModules) { if ( module[Object.keys(module)] === "true" && 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) { if ( subModule[Object.keys(subModule)] === "true" && 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(); + } } diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js index 8f97559..724b06f 100644 --- a/app/components/ecosystem/submodule-chainquery.js +++ b/app/components/ecosystem/submodule-chainquery.js @@ -12,10 +12,10 @@ module.exports = exports = () => `
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.
- +Lighthouse is a lightning-fast advanced search engine API for publications on the lbrycrd with autocomplete capabilities.
- +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.
- +The LBRY app is a graphical browser for the decentralized content marketplace provided by the LBRY protocol. It is essentially the lbry daemon bundled with an UI using Electron.
- +