Skip to content

Commit 90d54af

Browse files
committed
fix: ads
1 parent 35b0d26 commit 90d54af

34 files changed

+170
-87
lines changed

docs/on.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Adds an event listener to an element with the ability to use event delegation.
1515

1616
Use `EventTarget.addEventListener()` to add an event listener to an element.
1717
If there is a `target` property supplied to the options object, ensure the event target matches the target specified and then invoke the callback by supplying the correct `this` context.
18-
Returns a reference to the custom delegator function, in order to be possible to use with [`off`](#off).
18+
Returns a reference to the custom delegator function, in order to be possible to use with `off`.
1919
Omit `opts` to default to non-delegation behavior and event bubbling.
2020

2121
```js

docs/unzipWith.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
Creates an array of elements, ungrouping the elements in an array produced by [zip](#zip) and applying the provided function.
15+
Creates an array of elements, ungrouping the elements in an array produced by `zip` and applying the provided function.
1616

1717
Note: Provide size to make calculation faster
1818

docusaurus.config.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,10 @@ module.exports = {
2121
type: "text/css",
2222
},
2323
],
24-
// {
25-
// "data-cfasync": "false",
26-
// src: "/30-seconds-of-typescript/ad_7123489.js",
27-
// },
28-
// {
29-
// "data-cfasync": "false",
30-
// src: "/30-seconds-of-typescript/ad_7123489.js",
31-
// },
32-
// {
33-
// "data-cfasync": "false",
34-
// src: "//thubanoa.com/1?z=7123718",
35-
// async: true,
36-
// },
3724
scripts: [
3825
{
39-
"data-cfasync": "false",
40-
src: "//thubanoa.com/1?z=7123718",
41-
async: true,
26+
dataId: "rerender",
27+
src: "//pl22785116.profitablegatecpm.com/4d/c6/af/4dc6af6f312b5b25f9e201d7b191bce0.js",
4228
},
4329
],
4430
themeConfig: {

i18n/zh/docusaurus-plugin-content-docs/current/accumulate.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: accumulate
2+
title: accumulate [积累]
33
tags: [math, array, beginner]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 返回部分和的数组。
15+
返回部分和的数组。
1616

1717
使用 `Array.prototype.reduce()、Array.prototype.slice(-1)` 和一元 `+` 运算符将每个值添加到包含前一个总和的一元数组中。
1818

i18n/zh/docusaurus-plugin-content-docs/current/all.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: all
2+
title: all [全部]
33
tags: [array, function, beginner]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 全部
15+
全部
1616

1717
如果提供的谓词函数对集合中的所有元素返回 `true`,则返回 `true`,否则返回 `false`
1818

i18n/zh/docusaurus-plugin-content-docs/current/allEqual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: AllEqual
2+
title: AllEqual [寓言]
33
tags: [array, function, beginner]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 检查数组中的所有元素是否相等。
15+
检查数组中的所有元素是否相等。
1616

1717
使用 `Array.prototype.every()` 以检查数组的所有元素是否与第一个元素相同。
1818
使用严格的比较操作员比较阵列中的元素,该操作员无法解释“ NAN”的自我质量。

i18n/zh/docusaurus-plugin-content-docs/current/capitalize.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: capitalize
2+
title: capitalize [大写]
33
tags: [string, array, intermediate]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 大写字符串的首字母。
15+
大写字符串的首字母。
1616

1717
使用阵列破坏性和 `String.prototype.toUpperCase()` 要大写第一字母,`...rest` rest”在第一个字母之后获得字符数组,然后 `Array.prototype.join('')` 将其变成字符串再次。
1818
省略 `LowerRest` 参数以保持其余的字符串完整,或将其设置为“ True”以转换为小写。

i18n/zh/docusaurus-plugin-content-docs/current/capitalizeEveryWord.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: capitalizeEveryWord
2+
title: capitalizeEveryWord [大写每个单词]
33
tags: [string, regexp, intermediate]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 大写字符串中每个单词的首字母。
15+
大写字符串中每个单词的首字母。
1616

1717
使用 `String.prototype.replace()` 匹配每个单词的第一个字符和 `String.prototype.toUpperCase()` 以大写。
1818

i18n/zh/docusaurus-plugin-content-docs/current/chunk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: chunk
2+
title: chunk [大块]
33
tags: [array, intermediate]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -12,7 +12,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1212
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1313
![Deno](https://img.shields.io/badge/supports-deno-green.svg?style=flat-square)
1414

15-
[用中文] 块将一个数组分成指定尺寸的较小阵列。
15+
块将一个数组分成指定尺寸的较小阵列。
1616

1717
使用 `Array.from()` 来创建一个新数组,适合将要生成的块数量。
1818
使用 `Array.prototype.slice()` 将新数组的每个元素映射到尺寸的长度。

i18n/zh/docusaurus-plugin-content-docs/current/copyToClipboard.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: copyToClipboard
2+
title: copyToClipboard [复制到剪贴板]
33
tags: [browser, string, advanced]
44
author_title: Deepak Vishwakarma
55
author_url: https://github.com/deepakshrma
@@ -10,7 +10,7 @@ image: https://www.positronx.io/wp-content/uploads/2018/11/positronx-banner-1152
1010

1111
![JS](https://img.shields.io/badge/supports-javascript-yellow.svg?style=flat-square)
1212

13-
[用中文] 将字符串复制到剪贴板。
13+
将字符串复制到剪贴板。
1414

1515
仅由于用户操作而起作用(即在“单击事件侦听器”内部)。
1616

0 commit comments

Comments
 (0)