From c38d73e0709bf695f2176e1a8575b11c56fdf046 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Fri, 25 Jan 2019 11:16:46 -0500 Subject: [PATCH] direct markdown import --- app/components/ecosystem/module-applications.js | 4 +--- app/components/ecosystem/module-lbry.js | 4 +--- app/components/ecosystem/module-lbrycrd.js | 4 +--- app/components/ecosystem/submodule-chainquery.js | 4 +--- app/components/ecosystem/submodule-lighthouse.js | 6 ++---- app/components/ecosystem/submodule-reflector.js | 4 +--- app/components/ecosystem/submodule-wallet.js | 4 +--- 7 files changed, 8 insertions(+), 22 deletions(-) diff --git a/app/components/ecosystem/module-applications.js b/app/components/ecosystem/module-applications.js index 1f559a2..33c97e3 100644 --- a/app/components/ecosystem/module-applications.js +++ b/app/components/ecosystem/module-applications.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
diff --git a/app/components/ecosystem/module-lbry.js b/app/components/ecosystem/module-lbry.js index 8ee3585..bbe3ef5 100644 --- a/app/components/ecosystem/module-lbry.js +++ b/app/components/ecosystem/module-lbry.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
diff --git a/app/components/ecosystem/module-lbrycrd.js b/app/components/ecosystem/module-lbrycrd.js index 2f6b0a1..37fc6b6 100644 --- a/app/components/ecosystem/module-lbrycrd.js +++ b/app/components/ecosystem/module-lbrycrd.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
diff --git a/app/components/ecosystem/submodule-chainquery.js b/app/components/ecosystem/submodule-chainquery.js index 769310c..642a041 100644 --- a/app/components/ecosystem/submodule-chainquery.js +++ b/app/components/ecosystem/submodule-chainquery.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
diff --git a/app/components/ecosystem/submodule-lighthouse.js b/app/components/ecosystem/submodule-lighthouse.js index 4e1e863..89a49a6 100644 --- a/app/components/ecosystem/submodule-lighthouse.js +++ b/app/components/ecosystem/submodule-lighthouse.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
@@ -10,7 +8,7 @@ export default () => `
- ${markdown("./documents/partials/overview/lighthouse.md")} + ${markdown("./documents/partials/overview/lighthouse.md")}a
    diff --git a/app/components/ecosystem/submodule-reflector.js b/app/components/ecosystem/submodule-reflector.js index 844422d..7ed2c55 100644 --- a/app/components/ecosystem/submodule-reflector.js +++ b/app/components/ecosystem/submodule-reflector.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `
    diff --git a/app/components/ecosystem/submodule-wallet.js b/app/components/ecosystem/submodule-wallet.js index c50851d..469783c 100644 --- a/app/components/ecosystem/submodule-wallet.js +++ b/app/components/ecosystem/submodule-wallet.js @@ -1,8 +1,6 @@ "use strict"; -import { require as local } from "app-root-path"; - -const markdown = local("/app/components/markdown").default; +import markdown from "../markdown"; export default () => `