Skip to content

Commit df50f6d

Browse files
committed
fix(doc): fix polyfill example with whatwg-fetch
1 parent 63af932 commit df50f6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/article/en-US/http-services.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ First, install the polyfill using your package manager. Second, make sure to imp
3131

3232
<code-listing heading="Initializing the Fetch Polyfill">
3333
<source-code lang="ES 2015/2016">
34-
import 'fetch';
34+
import 'whatwg-fetch';
3535

3636
export function configure(aurelia) {
3737
aurelia.use
@@ -43,7 +43,7 @@ First, install the polyfill using your package manager. Second, make sure to imp
4343
</source-code>
4444
<source-code lang="TypeScript">
4545
import {Aurelia} from 'aurelia-framework';
46-
import 'fetch';
46+
import 'whatwg-fetch';
4747

4848
export function configure(aurelia: Aurelia): void {
4949
aurelia.use

0 commit comments

Comments
 (0)