Closed wlgithub closed 11 years ago
Did you include the processing plugin? https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.fileupload-process.js
Please see #2190
Thanks, yes I did include the process plugin, but I added after the main.js sentence. It is interesting that I have to put the jquery.fileupload-process.js in front of the main.js
Dear all,
I am trying to integrate it with a Ruby on Rails project and here is the error I got which I'm not sure how to solve
[11:38:46.409] TypeError: $.blueimp.fileupload.prototype.options.processQueue is undefined @ http://127.0.0.1:3000/jquery-file-upload/jquery.fileupload-image.js:39
Here is the 39'th line in jquery.fileupload-image.js:
=====jquery.fileupload-image.js===== /_jslint nomen: true, unparam: true, regexp: true / /_global define, window, document, DataView, Blob, Uint8Array /
(function (factory) { 'use strict'; if (typeof define === 'function' && define.amd) { // Register as an anonymous AMD module: define([ 'jquery', 'load-image', 'load-image-meta', 'load-image-exif', 'load-image-ios', 'canvas-to-blob', './jquery.fileupload-process' ], factory); } else { // Browser globals: factory( window.jQuery, window.loadImage ); } }(function ($, loadImage) { 'use strict';
Here is my man.js file file
/*
$(function () { 'use strict';
);
Thanks!