Permalink
Browse files

fix(doc): fix polyfill example with whatwg-fetch

  • Loading branch information...
huochunpeng committed Sep 20, 2018
1 parent 63af932 commit df50f6d4166d743d5479dcde5e28f861863e2431
Showing with 2 additions and 2 deletions.
  1. +2 −2 doc/article/en-US/http-services.md
@@ -31,7 +31,7 @@ First, install the polyfill using your package manager. Second, make sure to imp
<code-listing heading="Initializing the Fetch Polyfill">
<source-code lang="ES 2015/2016">
import 'fetch';
import 'whatwg-fetch';
export function configure(aurelia) {
aurelia.use
@@ -43,7 +43,7 @@ First, install the polyfill using your package manager. Second, make sure to imp
</source-code>
<source-code lang="TypeScript">
import {Aurelia} from 'aurelia-framework';
import 'fetch';
import 'whatwg-fetch';
export function configure(aurelia: Aurelia): void {
aurelia.use

0 comments on commit df50f6d

Please sign in to comment.