Skip to content

Commit 7c0c717

Browse files
committed
Fix places where identifiers were incorrectly uppercased
1 parent 398d771 commit 7c0c717

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

reference/javascript/environment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In some cases, we follow standards, but only support a _subset_ of features you
1313

1414
## Accessing global APIs
1515

16-
Supported APIs that you would expect as window globals in other enviroments are also available as globals in XD. Examples include `XMLHttpRequest`, `fetch`, `WebSocket`, `Document`, and more.
16+
Supported APIs that you would expect as window globals in other enviroments are also available as globals in XD. Examples include `XMLHttpRequest`, `fetch`, `WebSocket`, `document`, and more.
1717

1818
Example:
1919

reference/scenegraph.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ These classes are not scenenode types, but are used extensively in the scenegrap
7777
* [ImageFill](ImageFill.md) - Value object for `fill` property
7878
* [LinearGradientFill](LinearGradientFill.md) - Value object for `fill` property
7979
* [Matrix](Matrix.md) - Value object for `transform` property
80-
* [Shadow](Shadow.md) - Value object for `Shadow` property
81-
* [Blur](Blur.md) - Value object for `Blur` property
80+
* [Shadow](Shadow.md) - Value object for `shadow` property
81+
* [Blur](Blur.md) - Value object for `blur` property
8282

8383

8484
<a name="SceneNode"></a>

reference/ui/elements/textfields.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,6 @@ Text fields accept a limited amount of styling. You cannot change the following
210210

211211
* Text fields do not receive pointer events.
212212
* Validation is not currently supported.
213-
* The following `input` `type` values are not supported, and will render as a regular text field: `button`, `Color`,
213+
* The following `input` `type` values are not supported, and will render as a regular text field: `button`, `color`,
214214
`date*`, `email`, `file`, `hidden`, `month`, `number`, `password`, `radio`, `reset`, `search`, `submit`, `tel`,
215215
`time`, `url`, `week`

reference/ui/styles/supported-css-text-styles.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
## color
2020

21-
`Color` sets the color of text. Color can be specified using HEX color strings, `rgb` and `rgba` color values, `hsl` and `hsla` values, and other color spaces \(such as CMYK\). For more, [see the supported colors and forms](./supported-colors.md).
21+
`color` sets the color of text. Color can be specified using HEX color strings, `rgb` and `rgba` color values, `hsl` and `hsla` values, and other color spaces \(such as CMYK\). For more, [see the supported colors and forms](./supported-colors.md).
2222

2323
**Supported Values**
2424

tutorials/how-to-create-paths/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function createWedge(selection, radius, startAngle, endAngle, color) { // [1]
128128
1. The pie chart radius (`chartRadius`)
129129
1. The start radian of the wedge (`startAngle`)
130130
1. The end radian of the wedge (`endAngle`)
131-
1. The color of the wedge (`Color`)
131+
1. The color of the wedge (`color`)
132132
1. Based on these arguments, `pathData` is constructed. The pen is moved to the origin, a line is drawn to the first point on the edge of the circle, an arc is drawn to the second point on the edge of the circle, and then a line is drawn back to the origin. For more information on how to create path data, please refer to [Paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths)
133133
1. Create a new instance of `Path`
134134
1. Set `pathData`

tutorials/how-to-integrate-with-OAuth/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ app.get('/getRequestId', function (req, res) {
262262

263263
### 7. Open the default browser with the URL pointing to your server
264264

265-
To open the machine's default browser from an XD plugin, we can use UXP's `Shell` module:
265+
To open the machine's default browser from an XD plugin, we can use UXP's `shell` module:
266266

267267
```js
268268
require("uxp").shell.openExternal(`${publicUrl}/login?requestId=${rid}`)

tutorials/how-to-style-text/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Here's what's changed:
157157

158158
1. This data structure stores the text to be displayed, as well as the color to use for each fragment of text.
159159
1. Just as before, we set `node.text` equal to the text to be displayed. This time, the text string is created by concatenating together all the `.text` property values contained in the `textData` array. The `Array#map` gets us an array of strings, which we combine into a single string with `Array#join`.
160-
1. In this step, we build an array of style objects, applying each style to a few characters of the text string. We use `Array#map` again, this time converting each item in the `textData` array into a style object. The `length` of each style is equal to the length of the text string contained in one element of the `textData` array. The `Color` of each style is equal to the color value contained in one element of the `textData` array.
160+
1. In this step, we build an array of style objects, applying each style to a few characters of the text string. We use `Array#map` again, this time converting each item in the `textData` array into a style object. The `length` of each style is equal to the length of the text string contained in one element of the `textData` array. The `color` of each style is equal to the color value contained in one element of the `textData` array.
161161

162162
> **tip**
163163
> The `Color` constructor understands some color names, but you have plenty of other options for defining colors precisely, including hex, rgba, and more. [See the `Color` reference for more information](/reference/Color.md).

0 commit comments

Comments
 (0)