Skip to content

Commit

Permalink
Use the UMD build of intl-messageformat in the testsuite (#361)
Browse files Browse the repository at this point in the history
The main file of the library is a CommonJS build, not an UMD build,
making it incompatible with the usage in the testsuite setup. The UMD
build is shipped in the package but is not exposed on CDNJS.
  • Loading branch information
stof authored Jul 4, 2024
1 parent 11e717d commit b521251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resources/js/index-with-es5-shim.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="libs/es5-shim.js"></script>
<script src="libs/qunit/qunit.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl,Intl.~locale.fr,Intl.PluralRules.~locale.fr,Intl.PluralRules,Number.isFinite"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-messageformat/9.0.2/intl-messageformat.min.js"></script>
<script src="https://unpkg.com/intl-messageformat@9.0.2/dist/umd/intl-messageformat.min.js"></script>
<script src="translator.js"></script>
<script src="translatorTest.js"></script>
<link rel="stylesheet" href="./libs/qunit/qunit.css">
Expand Down
2 changes: 1 addition & 1 deletion Resources/js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script src="libs/jquery-1.6.1.min.js"></script>
<script src="libs/qunit/qunit.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl,Intl.~locale.fr,Intl.PluralRules.~locale.fr,Intl.PluralRules,Number.isFinite"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-messageformat/9.0.2/intl-messageformat.min.js"></script>
<script src="https://unpkg.com/intl-messageformat@9.0.2/dist/umd/intl-messageformat.min.js"></script>
<script src="translator.js"></script>
<script src="translatorTest.js"></script>
<link rel="stylesheet" href="./libs/qunit/qunit.css">
Expand Down

0 comments on commit b521251

Please sign in to comment.