Option Aliases
Use shorthand aliases: concurrent, parallelChunks, maxRetries for backward compatibility.
(function() {
new MultipleUpload('#demo', {
uploadUrl: '/api/upload',
multiple: true,
concurrent: 3,
maxRetries: 4,
parallelChunks: 2,
chunked: true
});
})();
Three names that map onto other names
The component accepts a few older option spellings and forwards them: concurrent sets concurrency, parallelChunks sets chunkConcurrency, and maxRetries sets retries. They exist so configuration written against earlier versions keeps working unchanged.
The current name always wins
Each alias applies only when the modern option is absent. Passing both concurrent: 5 and concurrency: 2 gives you 2 — the alias is ignored, silently. That precedence is right, but it does mean a stale alias in a config file looks like it is doing something when it is not. Prefer the current names in new code.