Encourage developers to use .then instead of .done
authorColeman Watts <coleman@civicrm.org>
Sat, 6 Apr 2019 11:55:14 +0000 (07:55 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 6 Apr 2019 11:55:14 +0000 (07:55 -0400)
commit08eba299a28ec5be0a5c74479115f271e7f64546
treecf0e20219b8bbbd2953b5a944ee1c729f3bb35c8
parent758eba6812e4d76ebb41f40659af438aebcb25cf
Encourage developers to use .then instead of .done

jQuery promises have both methods which (if only passing one argument) are
interchangeable. But native js promises do not have a .done method, so let's
start getting our code more future-proof.
templates/CRM/Admin/Page/APIExplorer.js