zetkin / zetkin.js

Javascript SDK for the Zetkin Platform API
0 stars 2 forks source link

Unify use of promises/callbacks #20

Closed richardolsson closed 6 years ago

richardolsson commented 8 years ago

Right now, most use cases (resource requests) use promises, whereas init() uses a callback. Consider using promises throughout. This would affect the error handling proposed by #18.

richardolsson commented 6 years ago

Achieved by #24 (where init() no longer exists).