From e7e7a0023933c95bcadc2e0dd5f8ecc9aef61358 Mon Sep 17 00:00:00 2001 From: tuutti Date: Fri, 12 Jul 2024 10:22:11 +0300 Subject: [PATCH] UHF-9674: Fixed hyphenopoly for en-us --- backstop/onBefore.js | 3 --- dist/js/hyphenopoly/patterns/en-us.wasm | Bin 0 -> 21024 bytes dist/js/hyphenopoly_settings.min.js | 2 +- src/js/hyphenopoly_settings.js | 7 +++++-- webpack.config.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 dist/js/hyphenopoly/patterns/en-us.wasm diff --git a/backstop/onBefore.js b/backstop/onBefore.js index cd019b41d..28ea24c38 100644 --- a/backstop/onBefore.js +++ b/backstop/onBefore.js @@ -1,8 +1,5 @@ module.exports = async (page, scenario, vp, isReference, browserContext, config) => { await page.emulateMedia({ reducedMotion: 'reduce' }); - // Wait until all assets have been loaded. Image style generation - // can sometimes take a long time, causing random failures. - // await page.waitForLoadState('networkidle'); const { hostname } = config; diff --git a/dist/js/hyphenopoly/patterns/en-us.wasm b/dist/js/hyphenopoly/patterns/en-us.wasm new file mode 100644 index 0000000000000000000000000000000000000000..6cdb9115f6471b70c4ab059024a94a28c0b5984e GIT binary patch literal 21024 zcmaL93w#^pnJ@g#&5~?sG*>%vPfs<{h$dlaCC!L#%W0z-jnX6(kVaByxs*#{AQ#6F zl28bVO%5Ck?JhJ;xRj+_nowd0fdY0RIA*)sv#|YI3N&!2alEIrD8Ms`-*F? zyrO5rC7XIk8`s;@%aSk?iZV?56Oph&lEiuMPG-IH_FYV$(`2sd@EE2)NhB<=Da9^i z2ROdy41^7qD<4-8N9UVy)f}~AJX6@;i(otvFlR~J76kCRr zCKJavN7|AkOL<76%f&k&m-#%iqa#Vaii->t%{T)rLNpc1=5Th^Gnk+7L{Fq^der|h`F*vM5lEPYpP*alJGOR%29nSM4 z$t~hYD!lba>r$a4zt-TBoD*Jaa2U?7h>;HZcAdewe@~L(t=s6;WN2NAU-#%Xqdgfm zB9IqOMs7@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fY0v7y-<4d|&pCi@-tzM~-1B|hsoM2CLRYC;R=ET` zBZ4IlRy$>cyIw=mWPKx#qERnaG!2inn&o6su+%(IL5vEq@~b#6tylIomU%!BKY{`De0 zan9*wAuW{fkv5>RGQ$uqU90QZLn8v&3d@^z!OOVVXJP6`N04q?sN4ZEk{d0;#|3(h6BEve;N0f9)LE@|~z zQLX!Wqpm51a-r%JyvtUvUdpd7EM=a{vz|Ex z&3+!+uuD%zM_;e4tW_$01D)0>jGe66av@zr=_O3TY?N~aoO+a2h5l5FPvs#it9 zs2Q1tSKzTn$S5{t7A=$URMM8|(K7-|m|T@F=T_I!$qKfBIf3WPsVw>qr$DswDQeC4 zlq}~}jY^}o)U8#pv63#Ss5pbjl1mtpy;wro_A2!{zVW%z$KOMwNFKR`!$Fc-S3~oXU?LKNnOEy}MIu}d z^@_L^!L~2E%&t)O(~(qnmsmXwQ)+JCNqV4RVEd+UiX*Q{YFo@u(^D?mn&-(wK{m$pw%$&g+w8v zrz}RVr!Mg_3iY{>s$^v;OMIoltjZF#ZpucbZtI5ou>q94# zWC0<@w#uZEE$hWBzNCr2lp=DSBTOYrbeSPmbrAm+;J+QXAdxPMz78%7F1Y2E!ND5_ g@4AaV4&HJX9&e$S77XIylQ(x^07kV22crl7KiYe{dH?_b literal 0 HcmV?d00001 diff --git a/dist/js/hyphenopoly_settings.min.js b/dist/js/hyphenopoly_settings.min.js index e5ccd3c3d..41bc28b5c 100644 --- a/dist/js/hyphenopoly_settings.min.js +++ b/dist/js/hyphenopoly_settings.min.js @@ -1 +1 @@ -document.addEventListener("DOMContentLoaded",(function(){Hyphenopoly.config({require:{fi:"yhdyssanahirviö",sv:"informationssäkerhetskampanj",en:"supercalifragilisticexpialidocious"},setup:{selectors:{".hyphenate":{}}},handleEvent:{error(e){e.preventDefault()}}})})); \ No newline at end of file +document.addEventListener("DOMContentLoaded",(function(){Hyphenopoly.config({require:{fi:"arvopaperimarkkinalainsäädäntö",sv:"informationssäkerhetskampanj",en:"supercalifragilisticexpialidocious"},fallbacks:{en:"en-us"},setup:{selectors:{".hyphenate":{}}},handleEvent:{error(e){e.preventDefault()}}})})); \ No newline at end of file diff --git a/src/js/hyphenopoly_settings.js b/src/js/hyphenopoly_settings.js index 30c649dfc..2eb840c36 100644 --- a/src/js/hyphenopoly_settings.js +++ b/src/js/hyphenopoly_settings.js @@ -8,14 +8,17 @@ document.addEventListener('DOMContentLoaded', function enableHyphenopoly() { // eslint-disable-next-line no-undef Hyphenopoly.config({ require: { - 'fi': 'yhdyssanahirviö', + 'fi': 'arvopaperimarkkinalainsäädäntö', 'sv': 'informationssäkerhetskampanj', 'en': 'supercalifragilisticexpialidocious' }, + fallbacks: { + 'en': 'en-us' + }, setup: { selectors: { '.hyphenate': {} - } + }, }, handleEvent: { error (e) { diff --git a/webpack.config.js b/webpack.config.js index cca0611d0..7bef71367 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -179,7 +179,7 @@ module.exports = (env, argv) => { 'to': path.resolve(__dirname, 'dist') + '/js/hyphenopoly/', 'force': true, }, { - 'from': 'node_modules/hyphenopoly/min/patterns/{fi,sv}.wasm', + 'from': 'node_modules/hyphenopoly/min/patterns/{fi,sv,en-us}.wasm', 'to': path.resolve(__dirname, 'dist', 'js/hyphenopoly/patterns', '[name][ext]'), 'force': true, }