app/services/store.js
Function get
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
get: function (type, id, skipApi) {
var self = this;
var item;
var date;
Function add
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function (type, object, skipApi) {
var adapter = this.adapter;
var self = this;
var add;
Function remove
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function (type, object, skipApi) {
var self = this;
var remove;
this.$log.debug('store', 'remove()', 'type=', type, 'object=', object, 'skipApi=', skipApi);