app/assets/javascripts/image_thread/uploader.js
File uploader.js
has 298 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
//= require image_thread/jquery/ui/jquery.ui.widget
//= require image_thread/load-image
//= require image_thread/jquery/jquery.fileupload
//= require image_thread/jquery/jquery.fileupload-process
//= require image_thread/jquery/jquery.fileupload-image
Function fail
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fail: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}
var that = $(this).data('blueimp-fileupload') ||
Function add
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function (e, data) {
if (e.isDefaultPrevented()) {
return false;
}