Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ge.js into merger
  • Loading branch information
yasharpm committed Jul 20, 2024
1 parent 818f0ce commit 555b565
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/authorize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class Authorize {
* browser will navigate back to redirectUri and OAuth will continue
* with onFeaturesLoaded.
*/
static authorize (remoteStoFrage: RemoteStorage, options: AuthorizeOptions): void {
static authorize (remoteStorage: RemoteStorage, options: AuthorizeOptions): void {
log('[Authorize] authURL = ', options.authURL, 'scope = ', options.scope, 'redirectUri = ', options.redirectUri, 'clientId = ', options.clientId, 'response_type =', options.response_type );

if (!options.scope) {
Expand Down
4 changes: 2 additions & 2 deletions test/unit/remotestorage-suite.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,9 @@ define(['require', 'tv4', './build/eventhandling', './build/util'],
initsCalled++;

if (initsCalled === 1) { // ignore first init, as that's from original initialization
test.assertAnd(env.rs._cleanups.length, 4);
test.assertAnd(env.rs._cleanups.length, 5);
} else {
test.assertAnd(env.rs._cleanups.length, 4);
test.assertAnd(env.rs._cleanups.length, 5);
}

if (initsCalled === 2) {
Expand Down

0 comments on commit 555b565

Please sign in to comment.