signalapp / libsignal-protocol-javascript

This library is no longer maintained. libsignal-protocol-javascript was an implementation of the Signal Protocol, written in JavaScript. It has been replaced by libsignal-client’s typesafe TypeScript API.
https://signal.org
GNU General Public License v3.0
1.96k stars 310 forks source link

Use ES6 arrow functions for cleaner code #77

Open orkhan-huseyn opened 3 years ago

orkhan-huseyn commented 3 years ago
Screen Shot 2021-01-12 at 10 30 42

If we use arrow functions we won't need such kind of serial bind functions.

orkhan-huseyn commented 3 years ago

I am talking about SessionChipher.js file