1
0
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:
Laurent Cozic
2019-07-29 15:43:53 +02:00
parent 64b7bc3d62
commit 86dc72b204
170 changed files with 4140 additions and 3119 deletions

View File

@ -2,7 +2,6 @@ const BaseModel = require('lib/BaseModel.js');
const BaseItem = require('lib/models/BaseItem.js');
class MasterKey extends BaseItem {
static tableName() {
return 'master_keys';
}
@ -20,7 +19,7 @@ class MasterKey extends BaseItem {
}
static async save(o, options = null) {
return super.save(o, options).then((item) => {
return super.save(o, options).then(item => {
this.dispatch({
type: 'MASTERKEY_UPDATE_ONE',
item: item,
@ -28,7 +27,6 @@ class MasterKey extends BaseItem {
return item;
});
}
}
module.exports = MasterKey;
module.exports = MasterKey;