freedomjs/freedom

View on GitHub
demo/filedrop/page.js

Summary

Maintainability
A
2 hrs
Test Coverage

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

function initialize(fileDrop) {
  FileRead.app = fileDrop;

  fileDrop.on('serve-descriptor', function (val) {
    var displayUrl = window.location + "#" + JSON.stringify(val);
Severity: Minor
Found in demo/filedrop/page.js - About 1 hr to fix

Function onload has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

window.onload = function () {
  // Get HTML5 stuff
  window.URL = window.URL || window.webkitURL;
  
  // Check for support
Severity: Minor
Found in demo/filedrop/page.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status