Skip to content

Commit

Permalink
doc(cheat-sheet): add docs on blue bird promises
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Dec 29, 2015
1 parent a8a7110 commit b62a8fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/article/en-US/app-configuration-and-startup.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ Aurelia was originally designed for Evergreen Browsers. This includes Chrome, Fi
</source-code>
</code-listing>

> Warning: Promises in Edge
> Currently, the Edge browser has a serious performance problem with its Promise implementation. This deficiency can greatly increase startup time of your app. If you are targeting the Edge browser, it is highly recommended that you use the [bluebird promise](http://bluebirdjs.com/docs/getting-started.html) library to replace Edge's native implementation. You can do this by simply referencing the library prior to loading system.js.
## [Manual Bootstrapping](aurelia-doc://section/4/version/1.0.0)

So far, we've been bootstrapping our app declaratively by using the `aurelia-app` attribute. That's not the only way though. You can manually bootstrap the framework as well. Here's how you would change your HTML file to use manual bootstrapping:
Expand Down
3 changes: 3 additions & 0 deletions doc/article/en-US/cheat-sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
</source-code>
</code-listing>

> Warning: Promises in Edge
> Currently, the Edge browser has a serious performance problem with its Promise implementation. This deficiency can greatly increase startup time of your app. If you are targeting the Edge browser, it is highly recommended that you use the [bluebird promise](http://bluebirdjs.com/docs/getting-started.html) library to replace Edge's native implementation. You can do this by simply referencing the library prior to loading system.js.
<code-listing heading="Standard Startup Configuration">
<source-code lang="ES 2015/2016">
export function configure(aurelia) {
Expand Down

0 comments on commit b62a8fd

Please sign in to comment.