mirror of https://github.com/keeweb/keeweb.git
Remove auto-loading from settings
This commit is contained in:
parent
cba2fddfa6
commit
b04cd843dc
|
@ -41,10 +41,6 @@ const FileInfoCollection = Backbone.Collection.extend({
|
|||
}
|
||||
});
|
||||
|
||||
FileInfoCollection.load = function() {
|
||||
const coll = new FileInfoCollection();
|
||||
coll.load();
|
||||
return coll;
|
||||
};
|
||||
FileInfoCollection.instance = new FileInfoCollection();
|
||||
|
||||
module.exports = FileInfoCollection;
|
||||
|
|
|
@ -71,6 +71,5 @@ const AppSettingsModel = Backbone.Model.extend({
|
|||
});
|
||||
|
||||
AppSettingsModel.instance = new AppSettingsModel();
|
||||
AppSettingsModel.instance.load();
|
||||
|
||||
module.exports = AppSettingsModel;
|
||||
|
|
|
@ -26,6 +26,5 @@ const RuntimeDataModel = Backbone.Model.extend({
|
|||
});
|
||||
|
||||
RuntimeDataModel.instance = new RuntimeDataModel();
|
||||
RuntimeDataModel.instance.load();
|
||||
|
||||
module.exports = RuntimeDataModel;
|
||||
|
|
|
@ -49,6 +49,5 @@ const UpdateModel = Backbone.Model.extend({
|
|||
});
|
||||
|
||||
UpdateModel.instance = new UpdateModel();
|
||||
UpdateModel.instance.load();
|
||||
|
||||
module.exports = UpdateModel;
|
||||
|
|
Loading…
Reference in New Issue