merty/simple-file-uploader

View on GitHub

Showing 1 of 1 total issue

Function upload has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function upload(response, postData) {

  var file = JSON.parse(postData);
  var fileRootName = file.name.split('.').shift();
  var fileExtension = file.name.split('.').pop();
Severity: Minor
Found in handlers.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language