
jquery.fileupload-process.js
About this file
Refer to jQuery's file upload processing plugin. See extracted documentation for GitHub link.
Code Check Report
Documentation drawn from source code
/*
* jQuery File Upload Processing Plugin 1.3.0
*
* Copyright 2012, Sebastian Tschan
*
* Licensed under the MIT license:
*/
/* jshint nomen:false */
/* global define, window */
(function (factory) {
if (typeof define === 'function' && define.amd) {
}(function ($) {
/*
{
action: 'log',
type: 'debug'
}
*/
add: function (e, data) {
data.process(function () {
/*
log: function (data, options) {
console[options.type](
'Processing "' + data.files[data.index].name + '"'
);
}
*/
_processFile: function (data, originalData) {
$.each(data.processQueue, function (i, settings) {
var func = function (data) {
.done(function () {
.fail(function () {
_transformProcessQueue: function (options) {
$.each(options.processQueue, function () {
$.each(this, function (key, value) {
processing: function () {
process: function (data) {
$.each(data.files, function (index) {
func = function () {
.always(function () {
_create: function () {