Skip to content

Commit

Permalink
Merge pull request #6789 from EugeneHlushko/issue/5964
Browse files Browse the repository at this point in the history
fix(bug) #5964 convert MS into S for scripts timeout attr
  • Loading branch information
sokra committed Mar 20, 2018
2 parents 4428efe + c4678e3 commit f82beb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/web/JsonpMainTemplatePlugin.js
Expand Up @@ -98,7 +98,7 @@ class JsonpMainTemplatePlugin {
? `script.type = ${JSON.stringify(jsonpScriptType)};`
: "",
"script.charset = 'utf-8';",
`script.timeout = ${chunkLoadTimeout};`,
`script.timeout = ${chunkLoadTimeout / 1000};`,
crossOriginLoading
? `script.crossOrigin = ${JSON.stringify(crossOriginLoading)};`
: "",
Expand Down
2 changes: 1 addition & 1 deletion test/statsCases/import-context-filter/expected.txt
Expand Up @@ -5,7 +5,7 @@ Built at: Thu Jan 01 1970 00:00:00 GMT
0.js 305 bytes 0 [emitted]
1.js 314 bytes 1 [emitted]
2.js 308 bytes 2 [emitted]
entry.js 7.81 KiB 3 [emitted] entry
entry.js 7.8 KiB 3 [emitted] entry
Entrypoint entry = entry.js
[0] ./templates/bar.js 38 bytes {0} [optional] [built]
[1] ./templates/baz.js 38 bytes {1} [optional] [built]
Expand Down
6 changes: 3 additions & 3 deletions test/statsCases/module-deduplication-named/expected.txt
Expand Up @@ -2,9 +2,9 @@
async3.js 818 bytes 0 [emitted] async3
async1.js 818 bytes 1 [emitted] async1
async2.js 818 bytes 2 [emitted] async2
e1.js 8.03 KiB 3 [emitted] e1
e2.js 8.05 KiB 4 [emitted] e2
e3.js 8.07 KiB 5 [emitted] e3
e1.js 8.02 KiB 3 [emitted] e1
e2.js 8.04 KiB 4 [emitted] e2
e3.js 8.06 KiB 5 [emitted] e3
Entrypoint e1 = e1.js
Entrypoint e2 = e2.js
Entrypoint e3 = e3.js
Expand Down

0 comments on commit f82beb3

Please sign in to comment.