Best JavaScript code snippet using qawolf
text.js
Source:text.js
...79 content: 'ãå°±æ¯å£èæåè¶å¿«å¾©å·¥ãã30æ²çå豪ï¼ååï¼ï¼å¨ä¸åä¸éä¾æèæææ©é
件ç港åå·¥ä½ãå
¬å¸å¨æ·±å³çå·¥å» æ©å¨2æ17æ¥éå·¥ï¼èº«çºæè¡ç¶ççä»ï¼å¨å½°åè家éå®å¹´å¾ï¼é²é²é£ä»¥æ±ºå®è©²è²·åªä¸å¤©çæ©ç¥¨åå»ã',80 }),81 generateContentBlock({82 type: blockTypes.paragraph,83 content: `æ ¹æè¡æ¿é¢ä¸»è¨èçµ±è¨ï¼${createHighlight('2018å¹´èµ´ä¸å大é¸å·¥ä½çå°ç£äººé40è¬4å人ã')}å
¨å°è¶
é40è¬çå°å¹¹ãå°åï¼å
¶ä¸æ許å¤äººåå豪ä¸æ¨£ï¼å çºä¸åæ°å èºçç«æ
ï¼æ»¯çå¨å®¶ï¼å°æªåå°å·¥ä½å´ä½ã`,84 }),85 generateContentBlock({86 type: blockTypes.paragraph,87 content: `ä¼æ¥ãå·¥å» æ¥éåç©©ç人åéæ±æ¹§ç¾ï¼${createHighlight('許å¤å°å¹¹ãå°åé·å
¥ãä¿ä½çå½éæ¯ä¿ä½é£¯ç¢ãçå
©é£ã')}ä»åå¦ä½å¨å¤¾ç¸«ä¸ææãæèç涯çä¸ä¸æ¥ï¼`,88 }),89]90const contentSectionOne = [91 generateContentBlock({92 type: blockTypes.backgoundImage,93 backgroundImageSrc: {94 desktop: `${cdnUrlBase}/shenzhen-bg-desktop.jpg`,95 mobile: `${cdnUrlBase}/shenzhen-bg-mobile.jpg`,96 },97 bgCatchPhrases: {98 one: null,99 two: null,100 },101 }),102 generateContentBlock({103 type: blockTypes.headerThree,104 content: '人å¿æ¶æ¶ 復工æ¥æä¸å»¶å延',105 }),106 generateContentBlock({107 type: blockTypes.paragraph,108 content: 'ãä¸æåºçæåï¼æå°±å¨æ³æ麼è·å
¬å¸èªªè¦å»¶å¾åå»ããå豪工ä½çå» ååå®2æ2æ¥éå·¥ï¼å çºç«æ
æªè¦è¶¨ç·©ï¼ä¸ä½µå»¶å°2æ10æ¥ï¼ä½ç±æ¼ç³è«å¾©å·¥çä¼æ¥å¤§æé·é¾ï¼å¹¾ä½å°ç£ãé¦æ¸¯çå¹¹é¨é æ°´æ¨èï¼å»ºè°17æ¥å¾åéå§ä¸çã',109 }),110 generateContentBlock({111 type: blockTypes.paragraph,112 content: `æªè³3æ20æ¥ï¼é¤äºåºèº«æ¹åç人ï¼å¤æ¸å¡å·¥é½å·²åå°å´ä½ãå³ä¾¿å¦æ¤ï¼${createHighlight('è½å®¹ç´å
©è¬äººçå» åï¼å°å·¥äººæ¸åªæå»å¹´åæçå
«æã')}å豪說ï¼é·æ以ä¾ï¼å»£æ±æ大éä¾èªæ¹åç移æ°å·¥ï¼ä½å¦ä»ä¾èªç«åè
ï¼ä¸å¾ä¸è¢«ä»»ç¨ã`,113 }),114 generateContentBlock({115 type: blockTypes.paragraph,116 content: 'æ¯å人é½å¨è§æã',117 }),118 generateContentBlock({119 type: blockTypes.paragraph,120 content: `ãå°ç£åäºæåé½å¯åè¯çµ¡ï¼ãå豪說ã${createHighlight('ååå°ç£å¹¹é¨ï¼é½å¨ç¾¤çµè£¡è¨è«ç©¶ç«ä½æåæ·±å³ã')}å¨å
¬å¸å調ä¸ï¼å
¶ä»äººå
æ¬å豪å¨å
§ï¼å¿
é è¦å¨3æ2æ¥åå°å» åã`,121 }),122 generateContentBlock({123 type: blockTypes.paragraph,124 content: 'ä¸éå§ï¼å¹¾åå°ç£åäºé½æ«æçæäºä¸ä¾ï¼ä½å豪ä»ç¶å主管表示ï¼å¸æå¤è§æä¸äºæéååå»ï¼å¹¾é±ä»¥ä¾å¨å¾®ä¿¡å主管ä¸æ¼å¤å ´å¾©å·¥æé¸æ°ï¼ãæå£çæç®å°±æ¯è¢«éé¤ãã',125 }),126 generateContentBlock({127 type: blockTypes.paragraph,128 content: 'å豪æä¸åæ²ï¼éç®å¹´è¼ï¼å°ä»ä¾èªªï¼å¥åº·æ¯å·¥ä½éè¦ãå çºä¸ç¥éç«æ
實éçæ³å¦ä½ï¼ä»å¸æè³å°è½è§å¯éå·¥ä¸åæå¾ççæ³ï¼å¦ææ²æå³åºå¤§è¦æ¨¡ææï¼è¦åå»æ¯è¼å®å¿ã',129 }),130 generateContentBlock({131 type: blockTypes.paragraph,132 content: 'æ·±å³å¨2æ8æ¥å¯¦æ½ç¤¾åå°éå¼ç®¡çï¼å°åä¹éç¦æ¢åºå
¥ï¼å´æ ¼ç¤æ¥æª¢æ¸¬å±
æ°é«æº«ï¼ç諳å管ååçå豪說ï¼éäºé½ä¸è¶³ä»¥è®ä»å®å¿ã',133 }),134 generateContentBlock({135 type: blockTypes.paragraph,136 content: `ãæåéè¡é½ç¥éï¼è¯çä¸æ¯æª¢æ¥åºä¾ãèæ¯ååºä¾çï¼å¾ç
çä½ æª¢æ¥åºä¾æä»éº¼ç¨ï¼ã${createHighlight('ä¸ä¿¡ä»»å®æ¹é²ç«ä½æ³ï¼æ¯ä»æçºè§æçåå ã')}`,137 }),138 generateContentBlock({139 type: blockTypes.narration,140 videoSrc: {141 mp4: `${cdnUrlBase}/shenzhen-infect.mp4`,142 webm: `${cdnUrlBase}/shenzhen-infect.webm`,143 poster: `${cdnUrlBase}/shenzhen-cover.jpg`,144 videoTitlle: 'æ·±å³å°å¹¹å¦ä½çå®æ¹ç«æ
æ¸åï¼',145 },146 }),147 generateContentBlock({148 type: blockTypes.headerThree,149 content: 'ä¸é¡è¿å·¥ æ¯å®³æçç
å¾åä¸äºå®¶',150 }),151 generateContentBlock({152 type: blockTypes.paragraph,153 content: '身çºæ¸¯åä¼æ¥è£¡å°æ¸çå°ç£äººï¼å豪ææçæ¯çç
çæååä¸äºå°ç£ããä»åå¯ä»¥åå»é¦æ¸¯æ²»çï¼è¬ä¸æå¨æ·±å³ç¢ºè¨ºï¼é£é¦æ¸¯é½ä¸è½å»äºï¼å çºæ²æå°æ¹æé¡æè®ä½ éå»ãã',154 }),155 generateContentBlock({156 type: blockTypes.paragraph,157 content: 'é¨å人å°æ¼å°å¹¹åå°å°±é«çä¸è«è§£ï¼ä¹è®ä»ææ顧å¿ããå¾ç
äºååä¾è¶
ç³çåï¼éæ¯ææ被罵ãã',158 }),159 generateContentBlock({160 type: blockTypes.paragraph,161 content: `å豪說ï¼ç¶²è·¯ä¸æäºè¬æ³ï¼æå°åå°å¹¹æ¯ãæ²äºç¥å好æ£æ£ãæäºéåå°ç£ãï¼ä½ä¸¦ä¸æ¯ææå¨ä¸åå·¥ä½çå°ç£äººé½æ¯é樣ã${createHighlight('å°ä»èè¨ï¼å¨é£éå°±æ¯ä¸ä»½å·¥ä½ï¼èªå·±ä¸¦ä¸æç¹å¥è®è³æ追æ§ä¸åã')}`,162 }),163 generateContentBlock({164 type: blockTypes.paragraph,165 content: `ææ©æ¾å¨è¶åå·¥ä½ï¼å豪ä¸æ¯æ²ææ³éè¦åå°ç£ï¼ä½ç¾å¯¦æ¯èªæ°´ç´æ¥ç åï¼ãç¼ç¾æ麼é麼ä½ããæ¿å¤§ç¶æ¿ç³»ç¢æ¥çä»ï¼æ²æå·¥ç¨èæ¯ï¼æèå¤å¹´æ·ç·´ï¼å¨æµ·å¤è½åå°æè¡è·ä½ï¼ä¸çå¿æææè½åå»ä½å°±ï¼å豪æçµéæ¯é¸æåºåã`,166 }),167 generateContentBlock({168 type: blockTypes.paragraph,169 content: `éç¶æååä¸æ被éé¤çå¿è£¡æºåï¼ä»éæ¯å¸æç¡å¯è½ä¿çå·¥ä½ï¼èªªèªå·±ä»¥ç¡èªåå義工ä½å°äºãä¸æé½å¯ä»¥ï¼ä½è©±ä¸è¬å®ä»å°±ç¶è±«äºï¼ãæ©...é£çºå
©åæ好åæé»å¤â¦ãå
§å¿çææ溢æ¼è¨è¡¨ã`,170 }),171 generateContentBlock({172 type: blockTypes.paragraph,173 content: `æ´åäºæï¼å豪å主管ç復工ååï¼åç¾ä¸æ°ä¸èµ°çå±é¢ã`,174 }),175 generateContentBlock({176 type: blockTypes.paragraph,177 content: `${createHighlight('å豪å¦æ¿ï¼ä¸»ç®¡ä¸æ¥åä¸æä¸æåå»çæç¨ï¼ä½ä¹æ²æè¦éé¤ä»çææã')}ä»è·ä¸»ç®¡å»ºè°éæ¾ç¡èªåï¼ä½æ¸¯å並æ²æé樣çåä¾ã`,178 }),179 generateContentBlock({180 type: blockTypes.paragraph,181 content: `ä»å¨å°ç£æéï¼æ¯å¤©é½éæ¯æé 端èç信件ï¼ä½çæ£è½åçäºæ
ä¸å¤ãä»å¨å®¶ä¸çä»ç¶ç®åºå¤ï¼ä½æ¯ææèªå·±ç´¯ç©ç14天年åç¨æã`,182 }),183 generateContentBlock({184 type: blockTypes.narration,185 videoSrc: {186 mp4: `${cdnUrlBase}/shenzhen-work.mp4`,187 webm: `${cdnUrlBase}/shenzhen-work.webm`,188 poster: `${cdnUrlBase}/shenzhen-cover.jpg`,189 videoTitlle: 'æ·±å³å°å¹¹å¦ä½è·ä¸ä¼èéååï¼',190 },191 }),192 generateContentBlock({193 type: blockTypes.paragraph,194 content: `ç¶éä¸åæç漫é·æé¸ï¼å豪æçµé¸æäºå·¥ä½ï¼å¨ä¸æä¸åå°æ·±å³ãä»è¡¨ç¤ºï¼ä¸æ¹é¢æ¯å çºç«æ
æ«æ趨緩ï¼å¦ä¸æ¹é¢ä¹æ¯æ¨ä¸å¾ç¾å¨é份工ä½ã`,195 }),196 generateContentBlock({197 type: blockTypes.paragraph,198 content: `éç¶ä»æ´åäºæé½å¨å°ç£å¾
å½ï¼ä½å
¬å¸çèªæ°´ä»ç¶ç
§ç¼ï¼ç«æ
æéè«çåï¼å¯ä»¥ç¨ä¹å¾çå çææ¸è£ï¼çæ¼è®å¡å·¥é æ¯ä¼åä½ä¸æ¸èªï¼ç¸ç¶å¤§æ¹ã`,199 }),200 generateContentBlock({201 type: blockTypes.paragraph,202 content: `ç±æ¼èæå
¬å¸3æ14æ¥å®£å¸éé大ä¸è¯å以å¤çå
¨çéå¸ï¼å豪å¦æ¿ç®åå
¬å¸èæ¼ç¡å®å¯æ¥ã人åéå©ççæ
ï¼ä½æ¯é è¨ä¸ãåæçèªè³ä»æå¦æç¼æ¾ã`,203 }),204]205const contentSectionTwo = [206 generateContentBlock({207 type: blockTypes.backgoundImage,208 backgroundImageSrc: {209 desktop: `${cdnUrlBase}/shanghai-bg-desktop.jpg`,210 mobile: `${cdnUrlBase}/shanghai-bg-mobile.jpg`,211 },212 bgCatchPhrases: {213 one: null,214 two: null,215 },216 }),217 generateContentBlock({218 type: blockTypes.headerThree,219 content: '寧被éå
©é±ä¹è¦æ¤ å°å¹¹å¤«å¦»ä¸å¤©å
©å¤å¿«éæ¬å®¶',220 }),221 generateContentBlock({222 type: blockTypes.paragraph,223 content: 'ç¶è¨±å¤å°å¹¹èº«é·å¾©å·¥å°å¢ï¼æç人已ç¶æºååå°ç¼å±ï¼çè³ä¸æ被éé¢14天ä¹è¦åä¸åæ¶æ家ç¶ã',224 }),225 generateContentBlock({226 type: blockTypes.paragraph,227 content: `${createHighlight('ãå çºå®å
¨åé¡ï¼å°±ä¸èæ
®åå»äºãã')}é»è©±é£é 38æ²çå祥ï¼ååï¼ï¼2æ25æ¥çµæ¼è¸åºåæ
æ¿éï¼çµæçºæ14天çå±
家檢ç«ã`,228 }),229 generateContentBlock({230 type: blockTypes.paragraph,231 content: 'åæ¬å¨ä¸æµ·é£éæ¥æ¬æçåºæ任總å»çå祥ï¼å太太å¨ä¸æµ·å·¥ä½ç´å
©å¹´ï¼1æ23æ¥åå°ç£éå¹´ï¼æ²æ³å°å çºéæ³¢ç«æ
ï¼å祥çèéå¨1æ30æ¥çµæ¸
ææå¡å·¥èªæ°´å°±çµæçæ¥ã',232 }),233 generateContentBlock({234 type: blockTypes.paragraph,235 content: 'å¾çºè½èªªä¸æµ·å¯è½å°åï¼å¤«å¦»åè¶å¨2æ10æ¥å®æ¹éå·¥æ¥ä¹åï¼æ大é¨åæ±è¥¿æ¶å®ï¼ä¸å¤©å
©å¤å
§ä¾åå°ç£ã',236 }),237 generateContentBlock({238 type: blockTypes.narration,239 videoSrc: {240 mp4: `${cdnUrlBase}/shanghai.mp4`,241 webm: `${cdnUrlBase}/shanghai.webm`,242 poster: `${cdnUrlBase}/shanghai-cover.jpg`,243 videoTitlle: 'ä¸æµ·å°å¹¹å¤«å¦»å¦ä½å¿«éæå
è¡æï¼',244 },245 }),246 generateContentBlock({247 type: blockTypes.paragraph,248 content: '夫妻å寧é¡åéªä¹è¦æ¤åå°ç£ï¼é«çåé¡æ¯èå¾æ大çææã',249 }),250 generateContentBlock({251 type: blockTypes.paragraph,252 content: `ãæå£çæç®æ¯å¯§é¡å¨ééçé«çããä¸å¹´å¤åèµ´é¸å·¥ä½çå祥說ï¼ä¹åæä¸ååäºå¨å診æï¼${createHighlight('被é«é¢åç¥ä¹åæé¯éæéé¯è¥ï¼è®ä»å°ç¶å°çé«çå質缺ä¹ä¿¡å¿ï¼')}ãä»åé½ä¸æ覺å¾é¢èï¼ä½æåæ麼æ¢å»çãã`,253 }),254 generateContentBlock({255 type: blockTypes.paragraph,256 content: `ç®å廣åæ¥ç妻åæ¯é è·è¾¦å
¬ï¼å·¥ä½é²åº¦åå°å½±é¿ãé¤äºè·å®¢æ¶ææ¡æéæï¼æ²è¾¦æ³é¢å°é¢é²è¡ï¼ä¸å¤©ä¹ä¸çå·¥ä½æå»è¡¨ä¹æé·ãéç¶åªæå
å°å
«å°æï¼ä½å
¬å¸å¤æ¸åäºé½é è·ä¸çï¼æºéä¸å¦å¨è¾¦å
¬å®¤æ¹ä¾¿ï¼${createHighlight('ææå°æä¸åé»ãåä¸é»é½éå¨èçå
¬äºã')}`,257 }),258 generateContentBlock({259 type: blockTypes.paragraph,260 content: `ç¶éè¨è«ï¼å¤ªå¤ªè¿æå·¥ä½åä¸æ®µè½å¾å°±æé¢è·ï¼å
©äººæç®å¨å°ç£éæ°éå§ã`,261 }),262 generateContentBlock({263 type: blockTypes.paragraph,264 content: `å祥表示ï¼å
©å¹´åå°ä¸åå·¥ä½ï¼æ¯æ³è¦è¦ä¸é¢ãéæç¼çï¼å¤«å¦»å
©äººçèªæ°´ä¹é½æ¯å¨å°ç£æé«ï¼å çºç«æ
è¦æ¾æ£å·¥ä½åå°ï¼é£å
覺å¾å¯æï¼${createHighlight('ä½ç«æ
çæé£è¦å¥½è½ï¼å®å
¨éæ¯ç¬¬ä¸èéã')}`,265 }),266 generateContentBlock({267 type: blockTypes.paragraph,268 content: `復工é²å
¥ç¬¬ä¸é±ï¼è¨±å¤å°å¹¹é½é¸çºè¢«ãé¼å·¥ããå祥èªèçä¸åé¤é£²æ¥é«é主管ï¼å¨å
¬å¸è¦æ±ä¸ï¼å·²å¨2æ24æ¥åå°ä¸æµ·ï¼çç±æ¯é«ç®¡åæ¦æ¨£ã樹ç«è¡¨çï¼åºä¸å¡å·¥ææé¡æè·é²ã`,269 }),270 generateContentBlock({271 type: blockTypes.paragraph,272 content: `éç¶äººåå»äºï¼å
¬å¸æ¿çæ¯äºæä¸çµ¦èªï¼ä¸ãåæçèªæ°´å»¶é²ç¼ï¼è³æ¼ä½æç¼èªä»ä¸ç¢ºå®ï¼${createHighlight('ãä»ç¥ééä¸å¤ªåçï¼ä½åä¸è½åä»éº¼ãã')}`,273 }),274 generateContentBlock({275 type: blockTypes.paragraph,276 content: `ç¸å°æ¼å¹´è¼æ群ï¼å¨å°å²¸ç¼å±å·²ä¹
çå°ç£äººï¼ä»ç¶æå¾
è½ç¡å¿«åå»ä¸çã`,277 }),278]279const contentSectionThree = [280 generateContentBlock({281 type: blockTypes.backgoundImage,282 backgroundImageSrc: {283 desktop: `${cdnUrlBase}/beijing-bg-desktop.jpg`,284 mobile: `${cdnUrlBase}/beijing-bg-mobile.jpg`,285 },286 bgCatchPhrases: {287 one: null,288 two: null,289 },290 }),291 generateContentBlock({292 type: blockTypes.headerThree,293 content: 'å京è±èºç¬¬ä¸ä½å°ç£ä¸é«å¸« ä»çé¸ææ¯ä»éº¼ï¼',294 }),295 generateContentBlock({296 type: blockTypes.paragraph,297 content: 'ãç¢ç«è±äºåå¹´æéå¨å京æä¸åºç¤ï¼ä¸å¯è½é¨ä¾¿å°±èªªä¸åå»äºããåæ竹山ä¸éä¸è¥éªè£¡ï¼äºåä¸æ²çä¸é«å¸«è¬èæºï¼é é«®ç°ç½ï¼ç¬å®¹åè¹ã',298 }),299 generateContentBlock({300 type: blockTypes.paragraph,301 content: 'è¬èæºçç¶è¦ªç¿æ¦å¤å¹´ï¼å°è·æå·ç§é æç 究ï¼äºåå¤å¹´åå¨ç«¹å±±éäºä¸è¥æ¿ï¼å æ¤è¬èæºå¹´è¼æå¨ç¶è¦ªè³æ¿¡ç®æä¸ï¼å°ä¸é«ç¢çè趣ã',302 }),303 generateContentBlock({304 type: blockTypes.paragraph,305 content: '2005å¹´èåä¸åä¸é«å¸«å·ç
§çä»ï¼ä»å¹´å¾é«å±æ»¿åå¹´ï¼ä»çä¸é«å·æ¥èï¼å¨å京è±èºåæ¯TWç·¨èç第ä¸èï¼å¦ä»å ä¸åçé診å°æåæ°£ï¼å¨å京å¸å
é«é¢çäºå®¶é«çé¢æé½æè¨è¨ºã',306 }),307 generateContentBlock({308 type: blockTypes.paragraph,309 content: `å京2æ9æ¥ç¼å¸å¯¦æ½ç¤¾å管çï¼æ¶æ¯ä¸åºï¼äººå·²åå°ç£éå¹´çè¬èæºï¼ä¸åè½å°å¾®ä¿¡è¨æ¯è²ååä½é¿ã${createHighlight('許å¤ä¸é«è¨ºæé¸çºæ«åé診ï¼è³ä»ä¸ç¢ºå®ä½ææ¢å¾©')}ï¼ä»å太太å
©å人ç®åå
çå¨å°ç£ï¼çå¾
éå·¥ã`,310 }),311 generateContentBlock({312 type: blockTypes.paragraph,313 content: `ç±æ¼ä¸åä¸å°ä¸é«è¨ºææ¯é¶åºèªï¼æ¶å
¥ä»¥æèè²»çºä¸»ï¼${createHighlight('éæ³¢åæ¥ï¼è®ä»æ¶å
¥é©æ¸ã')}`,314 }),315 generateContentBlock({316 type: blockTypes.paragraph,317 content: `è¬èæºä¸æ¬¡æèè²»æ¯äººæ°å¹£100å
ï¼ç´æ°å°å¹£420å
ï¼ï¼è¦å¹ä¸æãå³ä½¿å¦æ¤ï¼ä¸è¨ºå¹³åä»æ30å°40åç
人ï¼${createHighlight('ä¸å¤©ä¸ç診就è³å°æ失6000å
人æ°å¹£ï¼ç´æ°å°å¹£2è¬5åå
ï¼')}ããæ失大äºåããè¬èæºåéã`,318 }),319 generateContentBlock({320 type: blockTypes.paragraph,321 content: `ä¸éï¼ä¸åç±æ¼æ¸ä½æåç¼éï¼é«çå³ä½¿äººå¨å°ç£ï¼éæ¯è½ç¨ææ©ç·ä¸ç診ã`,322 }),323 generateContentBlock({324 type: blockTypes.paragraph,325 content: `æéä¸åAPPè»é«ï¼è¬èæºå¨ä¸é¢çç
æ£å·²ç¶æå°1210èï¼é¤äºå診ç
人ä¸é©ç¨ä¹å¤ï¼è¤è¨ºç
æ£å¯ä»¥å¡«å診å®ï¼éä¸å¦èé ãèé¨çç
§çï¼è®é«ç診æ·ãå¹´å¾ä»¥ä¾ï¼ä»å·²ç¶ç·ä¸çäºè³å°50å¤åç
人ã`,326 }),327 generateContentBlock({328 type: blockTypes.paragraph,329 content: `å¨ä¸ååå¤å¹´ï¼è¬èæºå·²ç¶ç¿æ
£å京ççæ´»ï¼ãæååªè¦ä¸æ¯ææ©å°±å¯ä»¥æå®ææçéæ¯ï¼ç活幾ä¹ä¸ç¨å¸¶é¢ããä»çå
åç®åå¨å京念é«å¸é¢ï¼å«åä¹å³å°å¨å
æèªçï¼å京æ©å·²æ¯è¬èæºç第äºå家ã`,330 }),331 generateContentBlock({332 type: blockTypes.paragraph,333 content: `åå«æ ¹çå京ï¼è¬èæºä¸å以åãä¸å以æãäºå¯¦ä¸ï¼è¬èæºçå
åéå¹´æéå¾æªè¸åºå京ï¼${createHighlight('å çºæ£å·§è½å°é«é¢æ¥è¨ºç§æ¥åå¹è¨ï¼å¹¾ä¹æ¯ç«æ
çç¼ä¹éç第ä¸ç·äººå¡ï¼')}ä½ä»å»ä¸æ¥èé¢éï¼æ³çå®æ¥è¨ºç§ç¹¼çºæåã`,334 }),335 generateContentBlock({336 type: blockTypes.narration,337 videoSrc: {338 mp4: `${cdnUrlBase}/beijing.mp4`,339 webm: `${cdnUrlBase}/beijing.webm`,340 poster: `${cdnUrlBase}/beijing-cover.jpg`,341 videoTitlle: 'å°ç£ä¸é«å¸«çå
åå¨å京ç¾æ³å¦ä½ï¼',342 },343 }),344]345const contentSectionFour = [346 generateContentBlock({347 type: blockTypes.backgoundImage,...
CreateHighlight.js
Source:CreateHighlight.js
1'use strict';2import { EditAction } from './EditAction'3import { MarkupHighlight } from '../MarkupHighlight'4import { cloneStyle } from '../StyleUtils'5 /**6 *7 * @param editor8 * @param id9 * @param position10 * @param size11 * @param rotation12 * @param locations13 * @param style14 * @constructor15 */16 export function CreateHighlight(editor, id, position, size, rotation, locations, style) {17 EditAction.call(this, editor, 'CREATE-HIGHLIGHT', id);18 this.selectOnExecution = false;19 this.position = position;20 this.size = size;21 this.rotation = rotation;22 this.movements = locations.slice(0);23 this.style = cloneStyle(style);24 }25 CreateHighlight.prototype = Object.create(EditAction.prototype);26 CreateHighlight.prototype.constructor = CreateHighlight;27 var proto = CreateHighlight.prototype;28 proto.redo = function() {29 var editor = this.editor;30 var highlight = new MarkupHighlight(this.targetId, editor);31 editor.addMarkup(highlight);32 highlight.set(this.position, this.size, this.movements, false);33 highlight.setRotation(this.rotation);34 highlight.setStyle(this.style);35 };36 proto.undo = function() {37 var markup = this.editor.getMarkup(this.targetId);38 markup && this.editor.removeMarkup(markup);...
DeleteHighlight.js
Source:DeleteHighlight.js
1'use strict';2import { EditAction } from './EditAction'3import { CreateHighlight } from './CreateHighlight'4 /**5 *6 * @param editor7 * @param highlight8 * @constructor9 */10 export function DeleteHighlight(editor, highlight) {11 EditAction.call(this, editor, 'DELETE-HIGHLIGHT', highlight.id);12 this.createHighlight = new CreateHighlight(13 editor,14 highlight.id,15 highlight.position,16 highlight.size,17 highlight.rotation,18 highlight.locations,19 highlight.getStyle());20 }21 DeleteHighlight.prototype = Object.create(EditAction.prototype);22 DeleteHighlight.prototype.constructor = DeleteHighlight;23 var proto = DeleteHighlight.prototype;24 proto.redo = function() {25 this.createHighlight.undo();26 };27 proto.undo = function() {28 this.createHighlight.redo();...
Using AI Code Generation
1const { createHighlight } = require("qawolf");2const element = document.querySelector("body");3createHighlight(element);4const { createHighlight } = require("qawolf");5const element = document.querySelector("body");6createHighlight(element);7const { createHighlight } = require("qawolf");8const element = document.querySelector("body");9createHighlight(element);10const { createHighlight } = require("qawolf");11const element = document.querySelector("body");12createHighlight(element);13const { createHighlight } = require("qawolf");14const element = document.querySelector("body");15createHighlight(element);16const { createHighlight } = require("qawolf");17const element = document.querySelector("body");18createHighlight(element);19const { createHighlight } = require("qawolf");20const element = document.querySelector("body");21createHighlight(element);22const { createHighlight } = require("qawolf");23const element = document.querySelector("body");24createHighlight(element);25const { createHighlight } = require("qawolf");26const element = document.querySelector("body");27createHighlight(element);28const { createHighlight } = require("qawolf");29const element = document.querySelector("body");30createHighlight(element);31const { createHighlight } = require("qawolf");32const element = document.querySelector("body");33createHighlight(element);34const { createHighlight } = require("qawolf");35const element = document.querySelector("body");36createHighlight(element);37const { createHighlight } = require("qawolf");38const element = document.querySelector("body");39createHighlight(element);
Using AI Code Generation
1const qawolf = require("qawolf");2const { createHighlight } = qawolf;3const highlight = createHighlight({4});5console.log(highlight);6const qawolf = require("qawolf");7const { createHighlight } = qawolf;8const highlight = createHighlight({9});10console.log(highlight);11const qawolf = require("qawolf");12const { createHighlight } = qawolf;13const highlight = createHighlight({14});15console.log(highlight);16const qawolf = require("qawolf");17const { createHighlight } = qawolf;18const highlight = createHighlight({19});20console.log(highlight);21const qawolf = require("qawolf");22const { createHighlight } = qawolf;23const highlight = createHighlight({24});25console.log(highlight);26const qawolf = require("qawolf");27const { createHighlight } = qawolf;28const highlight = createHighlight({29});30console.log(highlight);
Using AI Code Generation
1const { createHighlight } = require('qawolf');2createHighlight('selector', 'page', 'name');3const { createHighlight } = require('qawolf');4createHighlight('selector', 'page', 'name');5const { createHighlight } = require('qawolf');6createHighlight('selector', 'page', 'name');7const { createHighlight } = require('qawolf');8createHighlight('selector', 'page', 'name');9const { createHighlight } = require('qawolf');10createHighlight('selector', 'page', 'name');11const { createHighlight } = require('qawolf');12createHighlight('selector', 'page', 'name');13const { createHighlight } = require('qawolf');14createHighlight('selector', 'page', 'name');15const { createHighlight } = require('qawolf');16createHighlight('selector', 'page', 'name');17const { createHighlight } = require('qawolf');18createHighlight('selector', 'page', 'name');19const { createHighlight } = require('qawolf');20createHighlight('selector', 'page', 'name');21const { createHighlight } = require('qawolf');22createHighlight('selector', 'page', 'name');23const { createHighlight } = require('qawolf');24createHighlight('selector', 'page', 'name');25const { createHighlight } = require('qawolf');26createHighlight('selector', 'page', 'name');27const { createHighlight } = require('qawolf');28createHighlight('selector', 'page', 'name');29const { createHighlight } = require('q
Using AI Code Generation
1const { createHighlight } = require("qawolf");2const highlight = createHighlight();3highlight({4 code: "await page.click('body');",5});6const { createHighlight } = require("qawolf");7const highlight = createHighlight();8highlight({9 code: "await page.click('body');",10});11const { createHighlight } = require("qawolf");12const highlight = createHighlight();13highlight({14 code: "await page.click('body');",15});16const { createHighlight } = require("qawolf");17const highlight = createHighlight();18highlight({19 code: "await page.click('body');",20});21const { createHighlight } = require("qawolf");22const highlight = createHighlight();23highlight({24 code: "await page.click('body');",25});
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!