Convert BaseResource.ensureCreated to return a promise.

Review Request #11643 — Created Oct. 4, 2021 and updated

david
Review Board
master
reviewboard

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.
Summary
Convert BaseResource.ensureCreated to return a promise.
Description From Last Updated

Col: 56 Missing semicolon.

reviewbotreviewbot

Looks like we're no longer calling this.trigger('published').

chipx86chipx86
Checks run (1 failed, 1 succeeded)
flake8 passed.
JSHint failed.

JSHint

david
chipx86
  1. 
      
  2. Looks like we're no longer calling this.trigger('published').

  3. 
      
david
david
Review request changed
Loading...