From 7bdce37fd3f18e2712e18c4e2c64cac69af0aca1 Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Sun, 19 Sep 2021 19:43:11 +0200 Subject: :boom: Introduce new UI based on svelte, and rewrite a lot of the node app and the NeoRuntime --- .../gitbook/gitbook-plugin-pretty-term/terminal.js | 33 ---------------------- 1 file changed, 33 deletions(-) delete mode 100644 docs/_book/gitbook/gitbook-plugin-pretty-term/terminal.js (limited to 'docs/_book/gitbook/gitbook-plugin-pretty-term/terminal.js') diff --git a/docs/_book/gitbook/gitbook-plugin-pretty-term/terminal.js b/docs/_book/gitbook/gitbook-plugin-pretty-term/terminal.js deleted file mode 100644 index feecc24..0000000 --- a/docs/_book/gitbook/gitbook-plugin-pretty-term/terminal.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; - -const red = "#f15056"; -const yellow = "#f9c536"; -const green = "#39e949"; - -/** - * Creates a circular window button. - * @param fill The fill to create with. - */ -function createButton(fill) { - let button = ""; - button += ""; - button += ""; - - return button; -} - -/** - * Exported members. - */ -module.exports = { - /** - * Create a terminal representation based on a body of text. - * @param body The text/command to include in the terminal. - */ - createTerm: function (body) { - const termWindow = "
" + createButton(yellow) + createButton(green) + createButton(red) + "
"; - const termBody = "
$" + body + "
"; - - return termWindow + termBody; - } -} -- cgit v1.2.3