From 2e1c3e653fcfa5a0ea28a6e99a9721b871edee86 Mon Sep 17 00:00:00 2001 From: Explosion-Scratch Date: Fri, 15 Jan 2021 17:48:12 +0000 Subject: [PATCH] README.html README.md bijou-min.js bijou.js ____ _____ _ ____ _ _ _ _____ | _ \_ _| | |/ __ \| | | | | |/ ____| | |_) || | | | | | | | | | | | (___ | _ < | | _ | | | | | | | |_ | |\___ \ | |_) || || |__| | |__| | |__| | |__| |____) | |____/_____\____/ \____/ \____(_)____/|_____/ Files changed: M README.html M README.md M bijou-min.js M bijou.js Date: 2021-01-15 17:48:12 User: Explosion-Scratch Email: explosion.scratch@gmail.com --- README.html | 10 +++++++++- README.md | 15 +++++++++++++++ bijou-min.js | 2 +- bijou.js | 8 ++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) diff --git a/README.html b/README.html index 8970baf29..9bb913fbd 100644 --- a/README.html +++ b/README.html @@ -101,6 +101,10 @@

Functions:

Returns an element of the computed style, e.g.

_$.compStyle(document.querySelector("h1"), "background-color") //Returns the background-color of the first &lt;h1&gt;
 
+

+composeFunction

+
+

Composes two functions together. Read more here: https://www.codementor.io/@michelre/use-function-composition-in-javascript-gkmxos5mj

copy


@@ -114,7 +118,11 @@

Functions:

_$.createElement('<div id=`fun`>Hello</div>);//Returns a DOM element whose id is 'fun' and whose innerText is 'Hello'
 

-
dayName

+
curryFunction

+
+

Returns the curried version of a function. Read more here: https://medium.com/@abitoprakash/implementing-a-curry-function-in-javascript-6a249dbcb1bb

+

+

dayName


Returns the day of the week from a Date object.

each

diff --git a/README.md b/README.md index 59d606811..e9b72251f 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,13 @@ Returns an element of the computed style, e.g. _$.compStyle(document.querySelector("h1"), "background-color") //Returns the background-color of the first <h1> ``` +
+composeFunction + +--- + +Composes two functions together. Read more here: https://www.codementor.io/@michelre/use-function-composition-in-javascript-gkmxos5mj +
copy @@ -186,6 +193,14 @@ _$.createElement('
Hello
);//Returns a DOM element whose id is ```
+
curryFunction + +--- + +Returns the curried version of a function. Read more here: https://medium.com/@abitoprakash/implementing-a-curry-function-in-javascript-6a249dbcb1bb + +
+
dayName --- diff --git a/bijou-min.js b/bijou-min.js index 358237de1..5c24af3fd 100644 --- a/bijou-min.js +++ b/bijou-min.js @@ -1 +1 @@ -let documentExists=!0;documentExists="undefined"==typeof window,documentExists?console.warn("There is no document element in Node, some functions of bijou.js will not work. If you need these functions consider using a package like jsdom to recreate the document element."):document.head.innerHTML+='