Convert BaseResource.ensureCreated to return a promise.

Review Request #11643 — Created Oct. 4, 2021 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

This change updates the ensureCreated method to use promises and
async/await instead of callbacks.

  • Ran js-tests.
  • Manually tested a random smattering of UI that might have been
    affected.

Changes between revision 1 and 2

orig
1
2
3
4

Commits

Summary ID Author
Convert BaseResource.ensureCreated to return a promise.
This change updates the `ensureCreated` method to use promises and async/await instead of callbacks. Testing Done: - Ran js-tests. - Manually tested a random smattering of UI that might have been affected.
e2b6bcd6c6299db46f781fa7e0b5a3a0da207f41 David Trowbridge
Convert BaseResource.ensureCreated to return a promise.
This change updates the `ensureCreated` method to use promises and async/await instead of callbacks. Testing Done: - Ran js-tests. - Manually tested a random smattering of UI that might have been affected.
9672db1495f7d9b858dbd2c68c8b44dd22d32b0c David Trowbridge
reviewboard/static/rb/js/resources/models/draftResourceChildModelMixin.es6.js
Loading...