scripts/core/services/data.ts
Function DataAdapter
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
return function DataAdapter(resource, params) {
var self = this;
var state = LocationStateAdapter; // @todo implement storage state adapter
var cancelWatch = angular.noop;
var defaultParams: any = {page: 1};