Skip to content

Commit

Permalink
revert some changes and add nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonren0403 committed Jul 29, 2023
1 parent 6add031 commit a5ae481
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions files/zh-cn/web/api/abortsignal/abort_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ return controller.signal;
## 语法

```js
abort();
abort(reason);
```js-nolint
AbortSignal.abort()
AbortSignal.abort(reason)
```

### 参数
Expand Down
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/abortsignal/throwifaborted/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ slug: Web/API/AbortSignal/throwIfAborted

## 语法

```js
throwIfAborted();
```js-nolint
throwIfAborted()
```

### 参数
Expand Down
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/abortsignal/timeout_static/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ original_slug: Web/API/AbortSignal/timeout
## 语法

```js
timeout(time);
```js-nolint
AbortSignal.timeout(time)
```

### 参数
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ slug: Web/API/BroadcastChannel/BroadcastChannel

## 语法

```js
new BroadcastChannel(channelName);
```js-nolint
new BroadcastChannel(channelName)
```

### 参数
Expand Down
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/btoa/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ slug: Web/API/btoa

## 语法

```js
btoa(stringToEncode);
```js-nolint
btoa(stringToEncode)
```

### 参数
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ slug: Web/API/ByteLengthQueuingStrategy/ByteLengthQueuingStrategy

## 语法

```js
new ByteLengthQueuingStrategy(highWaterMark);
```js-nolint
new ByteLengthQueuingStrategy(highWaterMark)
```

### 参数
Expand Down

0 comments on commit a5ae481

Please sign in to comment.