de.js
de.js contribute at DataFlow EventDriven Multi Paradime Javascript thinking about Functional Programing.
de.js is very friendly of OOP
Sample code
let MyButton = function () {
this
._({
Alice: "Who are you ?",
CheshireCat: "I not interested about you."
})
._(button.$("Push Me"))
.on("click");
}._({
click (e) {
this.each((v, k) => e.$.outer.$(p.$(k + ": " + v)));
}
});
$.body.$(article.$(new MyButton().$));
Let's hack it!
reference
https://github.com/johnny-shaman/de.js/wiki