You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
First pass at linting lib dir
This commit is contained in:
@ -5,7 +5,6 @@ const { _ } = require('lib/locale.js');
|
||||
const Setting = require('lib/models/Setting');
|
||||
|
||||
class Shared {
|
||||
|
||||
constructor(comp, showInfoMessageBox, showErrorMessageBox) {
|
||||
this.comp_ = comp;
|
||||
|
||||
@ -20,13 +19,13 @@ class Shared {
|
||||
this.loginUrl_click = () => {
|
||||
if (!this.comp_.state.loginUrl) return;
|
||||
shim.openUrl(this.comp_.state.loginUrl);
|
||||
}
|
||||
};
|
||||
|
||||
this.authCodeInput_change = (event) => {
|
||||
this.authCodeInput_change = event => {
|
||||
this.comp_.setState({
|
||||
authCode: typeof event === 'object' ? event.target.value : event
|
||||
authCode: typeof event === 'object' ? event.target.value : event,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
this.submit_click = async () => {
|
||||
this.comp_.setState({ checkingAuthToken: true });
|
||||
@ -45,7 +44,7 @@ class Shared {
|
||||
} finally {
|
||||
this.comp_.setState({ checkingAuthToken: false });
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
syncTargetId() {
|
||||
@ -67,7 +66,6 @@ class Shared {
|
||||
loginUrl: api.loginUrl(),
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = Shared;
|
||||
module.exports = Shared;
|
||||
|
Reference in New Issue
Block a user