Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo: imediateSave -> immediateSave #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/server/v2/webDAVServer/Persistence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,12 @@ export class AutoSavePool
protected saving : boolean;
protected options : IAutoSave;

imediateSave()
/**
* @deprecated Previous typo. Use immediateSave instead.
*/
imediateSave = this.immediateSave

immediateSave()
{
this.saveFn((e, data) => {
if(e)
Expand Down Expand Up @@ -152,7 +157,7 @@ export class AutoSavePool
else
{
this.saving = true;
this.imediateSave();
this.immediateSave();
}
}

Expand All @@ -161,7 +166,7 @@ export class AutoSavePool
if(this.saveRequested)
{
this.saveRequested = false;
this.imediateSave();
this.immediateSave();
}
else
{
Expand Down