lukasmartinelli/astah-converter

View on GitHub
public/js/html5Upload.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function ajaxUpload has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        ajaxUpload: function (upload) {
            var manager = this,
                xhr,
                formData,
                fileName,
Severity: Minor
Found in public/js/html5Upload.js - About 1 hr to fix

    Function initialize has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            initialize: function () {
                console.log('Initializing upload manager');
                var manager = this,
                    dropContainer = manager.dropContainer,
                    inputField = manager.inputField,
    Severity: Minor
    Found in public/js/html5Upload.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status