Skip to content

Commit

Permalink
Fix syntax errors (#18475)
Browse files Browse the repository at this point in the history
* Fix syntax error

Reported in https://github.com/orgs/mdn/discussions/158 (PR11)
The macro just prints `Deprected` on the next line.

* Fix in blobbuilder

* Remove js annotation for webidl blocks

Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
  • Loading branch information
OnkarRuikar and teoli2003 committed Jul 18, 2022
1 parent ef59c2d commit 6c2011c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions files/en-us/web/api/blobbuilder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ void append(
Returns the {{domxref("Blob")}} object that has been constructed using the data passed
through calls to [`append()`](#append).

```js
```
Blob getBlob(
in DOMString contentType {{optional_inline}}
in DOMString contentType // optional
);
```

Expand All @@ -133,7 +133,7 @@ starting a new, empty blob.

Returns a {{domxref("File")}} object.

```js
```
File getFile(
in DOMString name,
[optional] in DOMString contentType
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/rtcpeerconnection/getstats/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ the new promise-based version_. Check the [Browser compatibility](#browser_compa
to verify the state of this method.

```js
promise = rtcPeerConnection.getStats(selector, successCallback, failureCallback) {{deprecated_inline}}
promise = rtcPeerConnection.getStats(selector, successCallback, failureCallback) // deprecated
```

#### Parameters
Expand Down

0 comments on commit 6c2011c

Please sign in to comment.