casbin / casbin-hub

The hub for Casbin
https://dashboard.casbin.com
Apache License 2.0
87 stars 46 forks source link

Replace regular JS functions with ES6 arrow functions. #13

Open ani4aniket opened 4 years ago

ani4aniket commented 4 years ago

ES6 arrow function has a simple syntax. Also, we don't need to bind this for every function within the code if we use the arrow function instead of regular function.

Wynnfan commented 4 years ago

Wait, developing.