I am building a simple charting tool. When a user chooses a data source and a chart type, both the data and the script for the specific chart (.js) are loaded and then the code
I created a very lightweight promise library. It is not A compliant, but i did not want something 2,000 lines long.
It is a fork of promisejs, but I made some nice additions.
Here is a link to the repo. https://github.com/taylorhakes/promise-light