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:
@ -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;
|
||||
|
Reference in New Issue
Block a user