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 <h1>
 
+

+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+='