chiasm-project / chiasm

A browser based environment for interactive data visualizations.
MIT License
184 stars 24 forks source link

Refactor to use Promises #28

Closed curran closed 9 years ago

curran commented 9 years ago

The current implementation uses error-first callbacks in the style of Node.js. However, this is causing headaches in the code, particularly with respect to error handling, and I suspect that Promises may provide a cleaner solution.

curran commented 9 years ago

Mostly done in ac89453115695bfd2485fe48605bb87a876f9343, still need to refactor plugins.

curran commented 9 years ago

Done in 262041f367b531f783840d65df395a556fb2c3a6