Lightweight implementation of promises

后端 未结 7 1539
独厮守ぢ
独厮守ぢ 2021-02-02 17:09

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

7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-02 18:02

    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

提交回复
热议问题