Skip to content

Commit bacfe53

Browse files
committed
spelling: with
Signed-off-by: Josh Soref <[email protected]>
1 parent bfbceea commit bacfe53

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

docs-devsite/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Firebase Realtime Database
1717
| Function | Description |
1818
| --- | --- |
1919
| <b>function(app, ...)</b> |
20-
| [getDatabase(app, url)](./database.md#getdatabase_d9cea01) | Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!-- -->. Initializes a new instance with with default settings if no instance exists or if the existing instance uses a custom database URL. |
20+
| [getDatabase(app, url)](./database.md#getdatabase_d9cea01) | Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!-- -->. Initializes a new instance with default settings if no instance exists or if the existing instance uses a custom database URL. |
2121
| <b>function(db, ...)</b> |
2222
| [connectDatabaseEmulator(db, host, port, options)](./database.md#connectdatabaseemulator_27b9e93) | Modify the provided instance to communicate with the Realtime Database emulator.<p>Note: This method must be called before performing any other operation. |
2323
| [goOffline(db)](./database.md#gooffline_732b338) | Disconnects from the server (all Database operations will be completed offline).<!-- -->The client automatically maintains a persistent connection to the Database server, which will remain active indefinitely and reconnect when disconnected. However, the <code>goOffline()</code> and <code>goOnline()</code> methods may be used to control the client connection in cases where a persistent connection is undesirable.<!-- -->While offline, the client will no longer receive data updates from the Database. However, all Database operations performed locally will continue to immediately fire events, allowing your application to continue behaving normally. Additionally, each operation performed locally will automatically be queued and retried upon reconnection to the Database server.<!-- -->To reconnect to the Database and begin receiving remote events, see <code>goOnline()</code>. |
@@ -112,7 +112,7 @@ Firebase Realtime Database
112112

113113
### getDatabase(app, url) {:#getdatabase_d9cea01}
114114

115-
Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!-- -->. Initializes a new instance with with default settings if no instance exists or if the existing instance uses a custom database URL.
115+
Returns the instance of the Realtime Database SDK that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!-- -->. Initializes a new instance with default settings if no instance exists or if the existing instance uses a custom database URL.
116116

117117
<b>Signature:</b>
118118

packages/database/src/api/Database.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,9 @@ export function forceLongPolling() {
303303
}
304304

305305
/**
306-
* Returns the instance of the Realtime Database SDK that is associated
307-
* with the provided {@link @firebase/app#FirebaseApp}. Initializes a new instance with
308-
* with default settings if no instance exists or if the existing instance uses
309-
* a custom database URL.
306+
* Returns the instance of the Realtime Database SDK that is associated with the provided
307+
* {@link @firebase/app#FirebaseApp}. Initializes a new instance with default settings if
308+
* no instance exists or if the existing instance uses a custom database URL.
310309
*
311310
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned Realtime
312311
* Database instance is associated with.

packages/firestore/src/lite-api/user_data_reader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ export function fieldPathFromArgument(
953953
path: string | PublicFieldPath | Compat<PublicFieldPath>,
954954
targetDoc?: DocumentKey
955955
): InternalFieldPath {
956-
// If required, replace the FieldPath Compat class with with the firestore-exp
956+
// If required, replace the FieldPath Compat class with the firestore-exp
957957
// FieldPath.
958958
path = getModularInstance(path);
959959

packages/firestore/src/util/async_queue.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export interface AsyncQueue {
236236
* `enqueueEvenWhileRestricted()`.
237237
*
238238
* @param purgeExistingTasks Whether already enqueued tasked should be
239-
* rejected (unless enqueued wih `enqueueEvenWhileRestricted()`). Defaults
239+
* rejected (unless enqueued with `enqueueEvenWhileRestricted()`). Defaults
240240
* to false.
241241
*/
242242
enterRestrictedMode(purgeExistingTasks?: boolean): void;

0 commit comments

Comments
 (0)