
jquery.fileupload-validate.js
About this file
Refer to jQuery's file upload validation plugin. See extracted documentation for GitHub link.
Code Check Report
79:23 warning Method 'validate' has a complexity of 15 complexity ✖ 1 problem (0 errors, 1 warning)
Documentation drawn from source code
/*
* jQuery File Upload Validation Plugin 1.1.2
*
* Copyright 2013, Sebastian Tschan
*
* Licensed under the MIT license:
*/
/* global define, window */
(function (factory) {
if (typeof define === 'function' && define.amd) {
}(function ($) {
/*
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
maxNumberOfFiles: 10,
*/
validate: function (data, options) {