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

@ -1,7 +1,6 @@
const BaseItem = require('lib/models/BaseItem');
class ModelCache {
constructor() {
this.cache_ = {};
}
@ -25,14 +24,13 @@ class ModelCache {
this.cache_[models[i].id] = {
model: models[i],
timestamp: Date.now(),
}
};
output.push(models[i]);
}
return output;
}
}
module.exports = ModelCache;
module.exports = ModelCache;