Skip to content

Commit dcaf001

Browse files
authored
chore: Correct 'JavaScript' casing (#12569)
* chore: Correct JavaScript case * some more codeblock casing
1 parent 185c12d commit dcaf001

File tree

16 files changed

+26
-26
lines changed

16 files changed

+26
-26
lines changed

develop-docs/sdk/expected-features/setup-wizards/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If you create a new prompt, make sure you wrap it with the [`abortIfCancelled`](
142142
This will take care of correctly handling Cmd+C inputs, flushing Sentry events (if using [telemetry](#telemetry)) and exiting the process.
143143
For example:
144144

145-
```TypeScript
145+
```typescript
146146
const continueWithoutGit = await abortIfCancelled(
147147
clack.confirm({
148148
message:
@@ -236,7 +236,7 @@ This helps us understand how our users use the wizard, which actions they take a
236236

237237
It's easiest to use the `withTelemetery` wrapper function that's available in the `@sentry/wizard` package:
238238

239-
```TypeScript
239+
```typescript
240240
export async function runSourcemapsWizard(
241241
options: WizardOptions,
242242
): Promise<void> {
@@ -254,7 +254,7 @@ This will create a minimal Sentry client and send events, such as sessions, tran
254254

255255
If you want to add spans to individual steps within a wizard flow, you can use the `traceStep` helper function:
256256

257-
```TypeScript
257+
```typescript
258258
const res = await traceStep('npm-script-setup', () => setupNpmScriptInCI());
259259
```
260260

develop-docs/sdk/platform-specifics/serverless-sdks/aws-lambda.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: AWS Lambda
33
sidebar_order: 10
44
---
55

6-
Lambda functions can be written in numerous programming languages (Javascript,
6+
Lambda functions can be written in numerous programming languages (JavaScript,
77
Python, Ruby, Java, Go, ...). Sentry is currently supporting automatic
8-
instrumentation of Lambda functions written in Javascript and Python.
8+
instrumentation of Lambda functions written in JavaScript and Python.
99

1010
See the [Sentry Documentation](https://docs.sentry.io/product/integrations/cloud-monitoring/) on how to set up serverless instrumentation.
1111

@@ -29,7 +29,7 @@ like the Sentry SDK to your Lambda function.
2929
With the AWS Lambda Integrations users can add Sentry functionality to their
3030
Lambda function without changing the code of the Lambda function.
3131

32-
Sentry is providing a Lambda Layer including the Javascript SDK (or Python
32+
Sentry is providing a Lambda Layer including the JavaScript SDK (or Python
3333
SDK).
3434

3535
See the documentation to learn how customers can instrument their Lambda
@@ -42,7 +42,7 @@ Sentry is deploying one Lambda Layer for Node-based Lambda functions
4242
functions (`SentryPythonServerlessSDK`). Those Lambda layers are distributed
4343
to various AWS regions to be close to the users.
4444

45-
Both these layers include the latest Sentry Javascript SDK (or Python SDK).
45+
Both these layers include the latest Sentry JavaScript SDK (or Python SDK).
4646

4747
### Building of the Python Layer
4848

@@ -62,20 +62,20 @@ this can be found [here](https://github.com/getsentry/sentry-python/blob/master/
6262
To deploy a new version of the Lambda layer to AWS, you need to trigger a new
6363
release of the Python SDK.
6464

65-
### Building of the Javascript/Node Layer
65+
### Building of the JavaScript/Node Layer
6666

67-
The contents of the Layer directory for the Javascript/Node layer are built during the
67+
The contents of the Layer directory for the JavaScript/Node layer are built during the
6868
"Build & Test" workflow in Github actions. The steps necessary can be found
6969
[here](https://github.com/getsentry/sentry-javascript/blob/master/.github/workflows/build.yml).
7070

7171
This will prepare the Lambda layer directory, compress everything and upload the resulting zip file as
7272
an artifact to GitHub.
7373

74-
### Deployment of the Javascript/Node Layer
74+
### Deployment of the JavaScript/Node Layer
7575

7676
The zip file prepared in the previous step will be deployed to AWS Lambda by
7777
[Craft](https://github.com/getsentry/craft). The configuration of craft for doing
7878
this can be found [here](https://github.com/getsentry/sentry-javascript/blob/master/.craft.yml).
7979

8080
To deploy a new version of the Lambda layer to AWS, you need to trigger a new
81-
release of the Javascript SDK.
81+
release of the JavaScript SDK.

develop-docs/sdk/telemetry/traces/tracing-without-performance.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This means that SDKs by default always:
2222
TwP is active by default if users don't specify sampling options that enable span collection and sending (i.e. [regular tracing](#enable-regular-tracing)).
2323
For example, the following trivial SDK setup (note the absence of sampling options) enables TwP:
2424

25-
```JavaScript
25+
```javascript
2626
Sentry.init({
2727
dsn: "___PUBLIC_DSN___",
2828
});

docs/platforms/javascript/common/configuration/filtering.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Learn more about <PlatformLink to="/configuration/sampling/">configuring the sam
227227

228228
## Filtering Spans
229229

230-
Available since Javascript SDK version `8.2.0`.
230+
Available since JavaScript SDK version `8.2.0`.
231231

232232
To prevent certain spans from being reported to Sentry, use the <PlatformIdentifier name="before-send-span" /> configuration option which allows you to provide a function to modify and drop a child span.
233233
This function is only called for child spans of the root span. If you want to modify or drop the root span, including its child spans, use [`beforeSendTransaction`](#using-beforesendtransaction) instead.

docs/platforms/javascript/common/configuration/integrations/inboundfilters.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ This integration is enabled by default. If you'd like to modify your default int
99

1010
This integration allows you to ignore specific errors based on the type, message, or URLs in a given exception.
1111

12-
By default, it'll ignore errors that start with `Script error` or `Javascript error: Script error`.
12+
By default, it'll ignore errors that start with `Script error` or `JavaScript error: Script error`.
1313

1414
To configure this integration, use the `ignoreErrors`, `ignoreTransactions`, `denyUrls`, and `allowUrls` SDK options directly. For example:
1515

16-
```JavaScript
16+
```javascript
1717
Sentry.init({
1818
ignoreErrors: ["ignore-this-error"],
1919
});

docs/platforms/javascript/common/profiling/browser-profiling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ What does Sentry's JavaScript browser profile offer that Chrome DevTools does no
8080

8181
Please note, that since the browser profiling API is currently only implemented in Chromium-based browsers, the profiles collected with Sentry's JavaScript browser profiling will inherently be biased toward that demographic. This is something that you'll need to consider if you're basing your decisions on the data collected.
8282

83-
We hope that as the Javascript browser profiling API gains adoption, other browsers will implement it as well. If you find the browser profiling feature helpful and would like to see it gain further adoption, please consider supporting the spec at the official WICG repository.
83+
We hope that as the JavaScript browser profiling API gains adoption, other browsers will implement it as well. If you find the browser profiling feature helpful and would like to see it gain further adoption, please consider supporting the spec at the official WICG repository.

docs/platforms/react-native/integrations/default.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _Import name: `Sentry.inboundFiltersIntegration`_
1414
This integration allows you to ignore specific errors based on the type,
1515
message, or URLs in a given exception.
1616

17-
By default, it'll ignore errors that start with `Script error` or `Javascript error: Script error`.
17+
By default, it'll ignore errors that start with `Script error` or `JavaScript error: Script error`.
1818

1919
To configure this integration, use the `ignoreErrors`, `ignoreTransactions`, `denyUrls`,
2020
and `allowUrls` SDK options directly. Keep in mind that `denyURLs` and `allowURLs`

docs/platforms/react-native/manual-setup/native-init.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ you have to [configure the sample rate](/platforms/apple/tracing/#configure-the-
3535

3636
<Alert>
3737

38-
Initializing with this method uses a Content Provider. Because the Javascript engine for React Native is also initialized using a Content Provider, we cannot guarantee that Sentry will always initialize before the JavaScript engine.
38+
Initializing with this method uses a Content Provider. Because the JavaScript engine for React Native is also initialized using a Content Provider, we cannot guarantee that Sentry will always initialize before the JavaScript engine.
3939

4040
</Alert>
4141

docs/platforms/react-native/migration/before-v5.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ See the JS SDK migration guide [here](https://github.com/getsentry/sentry-javasc
100100

101101
## From 3.x to 4.x
102102

103-
By bumping Sentry JavaScript to v7, new breaking changes were introduced, to learn more about what was changed, check out the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry Javascript.
103+
By bumping Sentry JavaScript to v7, new breaking changes were introduced, to learn more about what was changed, check out the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry JavaScript.
104104

105105
By bumping Sentry Android to v6, new breaking changes were introduced, to learn more about what was changed, check out the [migration guide](/platforms/android/migration/#migrating-from-iosentrysentry-android-5x-to-iosentrysentry-android-600).
106106

docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ npx sentry-cli sourcemaps upload \
154154

155155
## Manual Upload for JSC Release
156156

157-
After the Sentry Expo Plugin and Sentry Metro plugin are added to the application configuration, generate and upload Javascript Core source maps.
157+
After the Sentry Expo Plugin and Sentry Metro plugin are added to the application configuration, generate and upload JavaScript Core source maps.
158158

159159
### Generate Bundle
160160

0 commit comments

Comments
 (0)