From b07845d960d7b1cbe3aa55d8ca3a4ae54ecacd82 Mon Sep 17 00:00:00 2001 From: Buggem <66670928+Buggem@users.noreply.github.com> Date: Thu, 7 Jul 2022 15:57:21 +1000 Subject: [PATCH] work on documentation --- src/jpure.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jpure.js b/src/jpure.js index 59c396a..343390a 100644 --- a/src/jpure.js +++ b/src/jpure.js @@ -1,8 +1,8 @@ var jpure = { "version": "v0.1", docs: { - 'chapterI': "\"minimise\" and \"maximise\" explained.\nMinimise and maximise both originate from StackOverflow,\nhttps:\/\/stackoverflow.com\/a\/56867045", - 'readdoc': function(doc) { console.log(doc); } + 'chapterI': ["CHAPTER 1, the first few functions", "\"minimise\" and \"maximise\" explained.\nMinimise and maximise both originate from StackOverflow,\nhttps:\/\/stackoverflow.com\/a\/56867045.\nNow I take a even bigger step, writing some very interesting code.\nI called the piece of code \"binaryGarbage\" because it generated random 1s and 0s.\nI love to push some of the output into a minimise function.\nSee the text with \"binaryGarbage\" in it.\nThe last of the first few functions was mindblowing."], // CHAPTER 1, the first few functions + 'readdoc': function(doc) { console.log(`${doc[0]}\n\n\n${doc[1]}`); } }, "minimise": function(binary) { return String.fromCharCode(