Skip to content

Commit

Permalink
Tag syntax code blocks with js-nolint, part 11 (#20623)
Browse files Browse the repository at this point in the history
* Tag syntax code blocks with js-nolint, part 11

Adding to #19177

- Updating syntax code blocks with the new tag. Refer: mdn/yari#7017

* Update files/en-us/web/api/svgpoint/index.md

Co-authored-by: Jean-Yves Perrier <jypenator@gmail.com>
  • Loading branch information
OnkarRuikar and teoli2003 authored Sep 13, 2022
1 parent 16e3988 commit b9bcca1
Show file tree
Hide file tree
Showing 200 changed files with 205 additions and 205 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interpreted as a point in the local coordinate system of the element.

## Syntax

```js
```js-nolint
isPointInFill(point)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ the element.

## Syntax

```js
```js-nolint
isPointInStroke(point)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svggraphicselement/getbbox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ geometry attributes on all the elements contained in the target element).
## Syntax

```js
```js-nolint
getBBox()
getBBox(options)
```
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgimageelement/decode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ for use.

## Syntax

```js
```js-nolint
decode()
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`setOrientToAngle()`** method of the {{domxref("SVGMarkerElement")}} inter

## Syntax

```js
```js-nolint
setOrientToAngle(angle)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`setOrientToAuto()`** method of the {{domxref("SVGMarkerElement")}} interf

## Syntax

```js
```js-nolint
setOrientToAuto()
```

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/svgpoint/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ An `SVGPoint` represents a 2D or 3D point in the SVG coordinate system.

## Syntax

```js
retObject = SVGSVGElement.createSVGPoint()
```js-nolint
createSVGPoint()
```

### Value
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/appenditem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`appendItem()`** method of the {{domxref("SVGPointList")}} interface adds

## Syntax

```js
```js-nolint
appendItem(obj)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/clear/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`clear()`** method of the {{domxref("SVGPointList")}} interface removes al

## Syntax

```js
```js-nolint
clear()
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/getitem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`getItem()`** method of the {{domxref("SVGPointList")}} interface gets one

## Syntax

```js
```js-nolint
getItem(index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/initialize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`initialize()`** method of the {{domxref("SVGPointList")}} interface clear

## Syntax

```js
```js-nolint
initialize(obj)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/insertitembefore/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`insertItemBefore()`** method of the {{domxref("SVGPointList")}} interface

## Syntax

```js
```js-nolint
insertItemBefore(obj, index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/removeitem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`removeItem()`** method of the {{domxref("SVGPointList")}} interface remov

## Syntax

```js
```js-nolint
removeItem(index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgpointlist/replaceitem/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`replaceItem()`** method of the {{domxref("SVGPointList")}} interface repl

## Syntax

```js
```js-nolint
replaceItem(obj, index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/syncevent/syncevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The **`SyncEvent()`** constructor creates a new {{domxref("SyncEvent")}} object.

## Syntax

```js
```js-nolint
new SyncEvent(type, options)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/syncmanager/gettags/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The **`SyncManager.getTags`** method of the

## Syntax

```js
```js-nolint
getTags()
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/syncmanager/register/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The **`SyncManager.register`** method of the

## Syntax

```js
```js-nolint
register()
register(options)
```
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/taskcontroller/setpriority/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If the task is immutable, the function call is ignored.

## Syntax

```js
```js-nolint
setPriority(priority)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/taskcontroller/taskcontroller/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If no priority is set, the signal priority defaults to [`user-visible`](/en-US/d

## Syntax

```js
```js-nolint
new TaskController()
new TaskController(init)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This object is created with a value indicating the [previous priority](/en-US/do

## Syntax

```js
```js-nolint
new TaskPriorityChangeEvent(type, options)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/text/splittext/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ method.

## Syntax

```js
```js-nolint
newNode = textNode.splitText(offset)
```

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/api/text/text/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ with the optional string given in parameter as its textual content.

## Syntax

```js
new Text();
new Text(aString);
```js-nolint
new Text()
new Text(aString)
```

### Parameters
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/textdecoder/decode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ specific method for that {{domxref("TextDecoder")}} object.

## Syntax

```js
```js-nolint
decode()
decode(buffer)
decode(buffer, options)
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/textdecoder/textdecoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If the value for _utfLabel_ is unknown, or is one of the two values leading to a

## Syntax

```js
```js-nolint
new TextDecoder()
new TextDecoder(utfLabel)
new TextDecoder(utfLabel, options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`TextDecoderStream()`** constructor creates a new {{domxref("TextDecoderSt

## Syntax

```js
```js-nolint
new TextDecoderStream(label)
new TextDecoderStream(label, options)
```
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/textencoder/encode/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ for that {{domxref("TextEncoder")}} object.

## Syntax

```js
```js-nolint
encode(string)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/textencoder/encodeinto/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ heap.

## Syntax

```js
```js-nolint
encodeInto(string, uint8Array)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/textencoder/textencoder/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The **`TextEncoder()`** constructor returns a newly created

## Syntax

```js
```js-nolint
new TextEncoder()
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`TextEncoderStream()`** constructor creates a new {{domxref("TextEncoderSt

## Syntax

```js
```js-nolint
new TextEncoderStream()
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/texttrack/addcue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`addCue()`** method of the {{domxref("TextTrack")}} interface adds a new c

## Syntax

```js
```js-nolint
addCue(cue)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/texttrack/removecue/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`removeCue()`** method of the {{domxref("TextTrack")}} interface removes a

## Syntax

```js
```js-nolint
removeCue(cue)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/texttrackcuelist/getcuebyid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The **`getCueById()`** method of the {{domxref("TextTrackCueList")}} interface r

## Syntax

```js
```js-nolint
getCueById(id)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/texttracklist/gettrackbyid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ string.

## Syntax

```js
```js-nolint
getTrackById(id)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/timeranges/end/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The **`end()`** method of the {{domxref("TimeRanges")}} interface returns the ti

## Syntax

```js
```js-nolint
end(index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/timeranges/start/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The **`start()`** method of the {{domxref("TimeRanges")}} interface returns the

## Syntax

```js
```js-nolint
start(index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/touch/touch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`Touch()`** constructor creates a new {{domxref("Touch")}} object.

## Syntax

```js
```js-nolint
new Touch(options)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/touchevent/touchevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The **`TouchEvent()`** constructor creates a new {{domxref("TouchEvent")}} objec
## Syntax

```js
```js-nolint
new TouchEvent(type)
new TouchEvent(type, options)
```
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/touchlist/item/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object at the specified index in the {{ domxref("TouchList") }}.

## Syntax

```js
```js-nolint
item(index)
```

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/trackevent/trackevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ occurred on a list of tracks ({{domxref("AudioTrackList")}},

## Syntax

```js
```js-nolint
new TrackEvent(type)
new TrackEvent(type, options)
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`TransformStream()`** constructor creates a new {{domxref("TransformStream

## Syntax

```js
```js-nolint
new TransformStream()
new TransformStream(transformer)
new TransformStream(transformer, writableStrategy)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ For more information on readable streams and chunks see [Using Readable Streams]

## Syntax

```js
```js-nolint
enqueue(chunk)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`error()`** method of the {{domxref("TransformStreamDefaultController")}}

## Syntax

```js
```js-nolint
error(reason)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The **`terminate()`** method of the {{domxref("TransformStreamDefaultController"

## Syntax

```js
```js-nolint
terminate()
```

Expand Down
Loading

0 comments on commit b9bcca1

Please sign in to comment.