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 2 and 3

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.
9672db1495f7d9b858dbd2c68c8b44dd22d32b0c 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.
24257a927ad591ad0c0ed203ddc8a6e201b95d5e David Trowbridge
reviewboard/static/rb/js/models/reviewRequestEditorModel.es6.js
Loading...