• gulhe's avatar
    [Documentation] simplified the "Promise" example (#784) · 0e797219
    gulhe authored
    #### Summary
    If someone were to use promise, it would be clearer to write their code this way, doing so they would take advantage of the promises.
    
    #### Ticket Link
    There is no ticket for that tell me if I need to create one (in which case I will strongly reconsider contributing this piece of doc since it would mean creating an account on a third party site and all ...)
    
    #### Test Information
    This PR was not tested at all. The mentionned code was tested in a console on chrome 
    0e797219
Name
Last commit
Last update
build Loading commit data...
src Loading commit data...
test Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc.json Loading commit data...
.flowconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE.txt Loading commit data...
Makefile Loading commit data...
NOTICE.txt Loading commit data...
PULL_REQUEST_TEMPLATE.md Loading commit data...
README.md Loading commit data...
babel.config.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
webpack.config.js Loading commit data...