metaminded/tabulatr2

View on GitHub
app/assets/javascripts/tabulatr/_storage.js

Summary

Maintainability
A
1 hr
Test Coverage

Function retrieveTableFromLocalStorage has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tabulatr.prototype.retrieveTableFromLocalStorage = function(response){
    try {
      var currentStorage = JSON.parse(localStorage[this.id]);
      if(currentStorage !== undefined){
        $('.pagination[data-table='+ this.id +'] a[data-page='+ response.meta.page +']');
Severity: Minor
Found in app/assets/javascripts/tabulatr/_storage.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status