Skip to content

Commit

Permalink
Fix grammar errors (mdn#33449)
Browse files Browse the repository at this point in the history
* as if its an -> as if it is an

* fix possessive pronoun: it's -> its
  • Loading branch information
dalps authored May 6, 2024
1 parent 7a551aa commit ed0069c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Finding publishers might be hard at first — try to look for them at the [HTML5

### Exclusive licenses

The exclusive license is a type of license for one publisher — you've built a game and you're selling all the rights to it to a single entity along with the rights to redistribute it — [Softgames](https://www.softgames.com/) are an example of such a publisher. You can't sell it again in any form while that publisher has the rights — that's why exclusive deals are worth quite a lot of money. How much exactly? It depends on the quality of the game, it's genre, its publisher, and many others, but usually it will be something between 2000 and 5000 USD. Once you've sold an exclusive license you can forget about promoting that particular game as you won't earn more, so go into such a deal only if you're sure it's profitable enough.
The exclusive license is a type of license for one publisher — you've built a game and you're selling all the rights to it to a single entity along with the rights to redistribute it — [Softgames](https://www.softgames.com/) are an example of such a publisher. You can't sell it again in any form while that publisher has the rights — that's why exclusive deals are worth quite a lot of money. How much exactly? It depends on the quality of the game, its genre, its publisher, and many others, but usually it will be something between 2000 and 5000 USD. Once you've sold an exclusive license you can forget about promoting that particular game as you won't earn more, so go into such a deal only if you're sure it's profitable enough.

### Non-exclusive licenses

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const linearRampMinus = document.querySelector(".linear-ramp-minus");
// Feed the HTMLMediaElement into it
const source = audioCtx.createMediaElementSource(myAudio);

// Create a gain node and set it's gain value to 0.5
// Create a gain node and set its gain value to 0.5
const gainNode = audioCtx.createGain();

// connect the AudioBufferSourceNode to the gainNode
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioparam/settargetattime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const atTimeMinus = document.querySelector(".at-time-minus");
// Feed the HTMLMediaElement into it
const source = audioCtx.createMediaElementSource(myAudio);

// Create a gain node and set it's gain value to 0.5
// Create a gain node and set its gain value to 0.5
const gainNode = audioCtx.createGain();
gainNode.gain.value = 0.5;
let currGain = gainNode.gain.value;
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/audioparam/setvalueattime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const targetAtTimeMinus = document.querySelector(".set-target-at-time-minus");
// Feed the HTMLMediaElement into it
const source = audioCtx.createMediaElementSource(myAudio);

// Create a gain node and set it's gain value to 0.5
// Create a gain node and set its gain value to 0.5
const gainNode = audioCtx.createGain();
gainNode.gain.value = 0.5;
let currGain = gainNode.gain.value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const valueCurve = document.querySelector(".value-curve");
// Feed the HTMLMediaElement into it
const source = audioCtx.createMediaElementSource(myAudio);

// Create a gain node and set it's gain value to 0.5
// Create a gain node and set its gain value to 0.5
const gainNode = audioCtx.createGain();
gainNode.gain.value = 0.5;
const currGain = gainNode.gain.value;
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/javascript/guide/using_classes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ In this case, pretty much every field and method is private to the class. Thus,

## Accessor fields

`color.getRed()` and `color.setRed()` allow us to read and write to the red value of a color. If you come from languages like Java, you will be very familiar with this pattern. However, using methods to simply access a property is still somewhat unergonomic in JavaScript. _Accessor fields_ allow us to manipulate something as if its an "actual property".
`color.getRed()` and `color.setRed()` allow us to read and write to the red value of a color. If you come from languages like Java, you will be very familiar with this pattern. However, using methods to simply access a property is still somewhat unergonomic in JavaScript. _Accessor fields_ allow us to manipulate something as if it is an "actual property".

```js
class Color {
Expand Down

0 comments on commit ed0069c

Please sign in to comment.