Fix typo in first-app-tests.jade

This commit is contained in:
Mark McEahern 2016-06-21 10:55:52 -05:00 committed by Naomi Black
parent adc04b6830
commit c467d56a2b

View File

@ -185,7 +185,7 @@ figure.image-display
Once configured with a default extension of 'js',  SystemJS requests `hero.js` which *does* exist and is promptly returned by our server. Once configured with a default extension of 'js',  SystemJS requests `hero.js` which *does* exist and is promptly returned by our server.
### Asynchronous System.import ### Asynchronous System.import
The call to `System.import` shouldn't surprise us but it's asynchronous nature might. The call to `System.import` shouldn't surprise us but its asynchronous nature might.
If we ponder this for a moment, we realize that it must be asynchronous because If we ponder this for a moment, we realize that it must be asynchronous because
System.js may have to fetch the corresponding JavaScript file from the server. System.js may have to fetch the corresponding JavaScript file from the server.
Accordingly, `System.import` returns a promise and we must wait for that promise to resolve. Accordingly, `System.import` returns a promise and we must wait for that promise to resolve.