Skip to content

Commit

Permalink
fix fetch polyfill for dev-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mrowetz committed Mar 24, 2017
1 parent f7098ee commit b6a896c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"load-grunt-config": "^0.19.2",
"tsify": "^3.0.1",
"tslint": "^4.5.1",
"typescript": "^2.2.1"
"typescript": "^2.2.1",
"whatwg-fetch": "^2.0.3"
},
"dependencies": {
"@types/har-format": "^1.2.0"
Expand Down
4 changes: 3 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ <h1>WPT HAR</h1>
<select id="page-selector2" class="page-selector"></select>
<div id="output2" class="output"></div>

<!-- fetch polyfill for dev-page only -->
<script src="/node_modules/whatwg-fetch/fetch.js"></script>

<!-- import PerfCascade JS /-->
<script src="/build/stage/perf-cascade.js"></script>
<script src="/build/stage/perf-cascade-file-reader.js"></script>
<script src="https://raw.githubusercontent.com/github/fetch/master/fetch.js"></script>

<script>
/**
Expand Down

0 comments on commit b6a896c

Please sign in to comment.