Skip to content

Commit 025f2a1

Browse files
authored
Spelling (#8280)
Numerous fixes to spelling across the SDK.
1 parent fd8bd4b commit 025f2a1

File tree

223 files changed

+426
-418
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+426
-418
lines changed

.changeset/late-humans-tan.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@firebase/firestore-compat': patch
3+
'@firebase/database-compat': patch
4+
'@firebase/auth-compat': patch
5+
'@firebase/app-compat': patch
6+
'@firebase/firestore': patch
7+
'@firebase/database': patch
8+
'firebase': patch
9+
'@firebase/auth': patch

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ root = true
1111
end_of_line = lf
1212
insert_final_newline = true
1313

14-
# Javascript and Typescript look like Google-style
14+
# JavaScript and TypeScript look like Google-style
1515
[*.{js,json,ts}]
1616
charset = utf-8
1717
indent_style = space

.github/ISSUE_TEMPLATE/bug_report_v2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ body:
2222
attributes:
2323
value: |
2424
*[READ THIS]:* to evaluate if you are in the right place?
25-
- For issues or feature requests related to __the code in this repository__, file a Github issue.
25+
- For issues or feature requests related to __the code in this repository__, file a GitHub issue.
2626
- If this is a __feature request__, make sure the issue title starts with "FR:".
2727
- For general technical questions, post a question on [StackOverflow](http://stackoverflow.com/) with the firebase tag.
2828
- For general Firebase discussion, use the [firebase-talk](https://groups.google.com/forum/#!forum/firebase-talk) google group.

.github/workflows/release-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ jobs:
120120
curl -X POST -H "Content-Type:application/json" \
121121
-d "{\"version\":\"$BASE_VERSION\",\"date\":\"$DATE\"}" \
122122
$RELEASE_TRACKER_URL/logProduction
123-
- name: Create Github release
123+
- name: Create GitHub release
124124
env:
125125
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
126126
run: |

.github/workflows/test-all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
# make chromedriver detect installed Chrome version and download the corresponding driver
2121
DETECT_CHROMEDRIVER_VERSION: true
2222
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
23-
# the beahvior to use the new URLs.
23+
# the behavior to use the new URLs.
2424
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
2525
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
2626
CHROME_VALIDATED_VERSION: linux-120.0.6099.71

.github/workflows/test-changed-auth.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ env:
2020
# make chromedriver detect installed Chrome version and download the corresponding driver
2121
DETECT_CHROMEDRIVER_VERSION: true
2222
# The default behavior of chromedriver uses the older Chrome download URLs. We need to override
23-
# the beahvior to use the new URLs.
23+
# the behavior to use the new URLs.
2424
CHROMEDRIVER_CDNURL: https://googlechromelabs.github.io/
2525
CHROMEDRIVER_CDNBINARIESURL: https://storage.googleapis.com/chrome-for-testing-public
2626
CHROME_VALIDATED_VERSION: linux-120.0.6099.71

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Firebase Javascript SDK
1+
# Firebase JavaScript SDK
22

33
<!-- BADGES -->
44
![Build Status](https://img.shields.io/github/actions/workflow/status/firebase/firebase-js-sdk/test-all.yml)

config/api-extractor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
*/
290290
"default": {
291291
/**
292-
* Specifies whether the message should be written to the the tool's output log. Note that
292+
* Specifies whether the message should be written to the tool's output log. Note that
293293
* the "addToApiReportFile" property may supersede this option.
294294
*
295295
* Possible values: "error", "warning", "none"

config/karma.saucelabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function getPackageLabels() {
105105

106106
/**
107107
* Gets a list of file patterns for test, defined individually
108-
* in karma.conf.js in each package under worksapce packages or
108+
* in karma.conf.js in each package under workspace packages or
109109
* integration.
110110
*/
111111
function getTestFiles() {

docs-devsite/auth.githubauthprovider.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export declare class GithubAuthProvider extends BaseOAuthProvider
3838
3939
| Method | Modifiers | Description |
4040
| --- | --- | --- |
41-
| [credential(accessToken)](./auth.githubauthprovider.md#githubauthprovidercredential) | <code>static</code> | Creates a credential for Github. |
41+
| [credential(accessToken)](./auth.githubauthprovider.md#githubauthprovidercredential) | <code>static</code> | Creates a credential for GitHub. |
4242
| [credentialFromError(error)](./auth.githubauthprovider.md#githubauthprovidercredentialfromerror) | <code>static</code> | Used to extract the underlying [OAuthCredential](./auth.oauthcredential.md#oauthcredential_class) from a [AuthError](./auth.autherror.md#autherror_interface) which was thrown during a sign-in, link, or reauthenticate operation. |
4343
| [credentialFromResult(userCredential)](./auth.githubauthprovider.md#githubauthprovidercredentialfromresult) | <code>static</code> | Used to extract the underlying [OAuthCredential](./auth.oauthcredential.md#oauthcredential_class) from a [UserCredential](./auth.usercredential.md#usercredential_interface)<!-- -->. |
4444
@@ -74,7 +74,7 @@ static readonly PROVIDER_ID: 'github.com';
7474
7575
## GithubAuthProvider.credential()
7676
77-
Creates a credential for Github.
77+
Creates a credential for GitHub.
7878
7979
<b>Signature:</b>
8080
@@ -86,7 +86,7 @@ static credential(accessToken: string): OAuthCredential;
8686
8787
| Parameter | Type | Description |
8888
| --- | --- | --- |
89-
| accessToken | string | Github access token. |
89+
| accessToken | string | GitHub access token. |
9090
9191
<b>Returns:</b>
9292
@@ -148,7 +148,7 @@ const result = await getRedirectResult(auth);
148148
if (result) {
149149
// This is the signed-in user
150150
const user = result.user;
151-
// This gives you a Github Access Token.
151+
// This gives you a GitHub Access Token.
152152
const credential = GithubAuthProvider.credentialFromResult(result);
153153
const token = credential.accessToken;
154154
}
@@ -166,7 +166,7 @@ const result = await signInWithPopup(auth, provider);
166166

167167
// The signed-in user info.
168168
const user = result.user;
169-
// This gives you a Github Access Token.
169+
// This gives you a GitHub Access Token.
170170
const credential = GithubAuthProvider.credentialFromResult(result);
171171
const token = credential.accessToken;
172172

0 commit comments

Comments
 (0)