Skip to content

Commit 26e80de

Browse files
docs rewordings
1 parent 87c0da0 commit 26e80de

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/reference/v8.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4106,7 +4106,7 @@
41064106
}
41074107
},
41084108
"rgba": {
4109-
"doc": "Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between 0 and 1. If any component is out of range, the expression is an error.",
4109+
"doc": "Creates a color value from red, green, blue components, which must range between 0 and 255, and an alpha component which must range between zero and one. If any component is out of range, the expression is an error.",
41104110
"syntax": {
41114111
"overloads": [
41124112
{
@@ -7999,7 +7999,7 @@
79997999
"type": "array",
80008000
"value": "interpolation_name",
80018001
"minimum": 1,
8002-
"doc": "An interpolation defines how to transition between items. The first element of an interpolation array is a string naming the interpolation operator, e.g. `\\\"linear\\\"` or `\\\"exponential\\\"`. Elements that follow (if any) are the _arguments_ to the interpolation."
8002+
"doc": "An interpolation defines how to transition between items. The first element of an interpolation array is a string naming the interpolation operator, e.g. `\"linear\"` or `\"exponential\"`. Elements that follow (if any) are the _arguments_ to the interpolation."
80038003
},
80048004
"interpolation_name": {
80058005
"doc": "First element in an interpolation array. May be followed by a number of arguments.",
@@ -8050,7 +8050,7 @@
80508050
{
80518051
"name": "base",
80528052
"type": "number literal",
8053-
"doc": "rate at which the output increases in `f(x) = x^r`. Values higher than 1 increase, close to one behave linearly and below one decrease."
8053+
"doc": "rate at which the output increases in `f(x) = x^r`. Values higher than 1 increase, close to one behaves linearly, and below one decrease."
80548054
}
80558055
]
80568056
},
@@ -8077,7 +8077,7 @@
80778077
}
80788078
},
80798079
"cubic-bezier": {
8080-
"doc": "Interpolates using the cubic bezier curve defined by the given control points.",
8080+
"doc": "Interpolates using the cubic bézier curve defined by the given control points.",
80818081
"syntax": {
80828082
"overloads": [
80838083
{
@@ -8094,22 +8094,22 @@
80948094
{
80958095
"name": "x1",
80968096
"type": "number literal",
8097-
"doc": "X-coordinate of the first control point. Must be between 0 and 1 for a valid monotonic easing curve. Controls how quickly the curve accelerates at the beginning."
8097+
"doc": "X-coordinate of the first control point. Must be between zero and one for a valid monotonic easing curve. Controls how quickly the curve speeds up at the beginning."
80988098
},
80998099
{
81008100
"name": "y1",
81018101
"type": "number literal",
8102-
"doc": "Y-coordinate of the first control point. Typically between 0 and 1, but may exceed this range for overshoot effects. Influences the starting slope of the curve."
8102+
"doc": "Y-coordinate of the first control point. Typically between zero and one, but may exceed this range for overshoot effects. Influences the starting slope of the curve."
81038103
},
81048104
{
81058105
"name": "x2",
81068106
"type": "number literal",
8107-
"doc": "X-coordinate of the second control point. Must be between 0 and 1 for a valid monotonic easing curve. Controls when the curve begins to decelerate toward the end."
8107+
"doc": "X-coordinate of the second control point. Must be between zero and one for a valid monotonic easing curve. Controls when the curve begins to decelerate toward the end."
81088108
},
81098109
{
81108110
"name": "y2",
81118111
"type": "number literal",
8112-
"doc": "Y-coordinate of the second control point. Typically between 0 and 1, but may exceed this range for overshoot effects. Influences the ending slope of the curve."
8112+
"doc": "Y-coordinate of the second control point. Typically between zero and one, but may exceed this range for overshoot effects. Influences the ending slope of the curve."
81138113
}
81148114
]
81158115
},

0 commit comments

Comments
 (0)