diff OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js @ 3973:d86bddb50972

fix spelling errors according to debian
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 May 2020 18:40:35 +0200
parents 4bc019d2f969
children
line wrap: on
line diff
--- a/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js	Fri May 22 18:03:08 2020 +0200
+++ b/OrthancExplorer/libs/jquery-file-upload/js/jquery.fileupload.js	Fri May 22 18:40:35 2020 +0200
@@ -126,14 +126,14 @@
             // The add callback is invoked as soon as files are added to the fileupload
             // widget (via file input selection, drag & drop, paste or add API call).
             // If the singleFileUploads option is enabled, this callback will be
-            // called once for each file in the selection for XHR file uplaods, else
+            // called once for each file in the selection for XHR file uploads, else
             // once for each file selection.
             // The upload starts when the submit method is invoked on the data parameter.
             // The data object contains a files property holding the added files
-            // and allows to override plugin options as well as define ajax settings.
+            // and allows one to override plugin options as well as define ajax settings.
             // Listeners for this callback can also be bound the following way:
             // .bind('fileuploadadd', func);
-            // data.submit() returns a Promise object and allows to attach additional
+            // data.submit() returns a Promise object and allows one to attach additional
             // handlers using jQuery's Deferred callbacks:
             // data.submit().done(func).fail(func).always(func);
             add: function (e, data) {
@@ -755,7 +755,7 @@
         _replaceFileInput: function (input) {
             var inputClone = input.clone(true);
             $('<form></form>').append(inputClone)[0].reset();
-            // Detaching allows to insert the fileInput on another form
+            // Detaching allows one to insert the fileInput on another form
             // without loosing the file input value:
             input.after(inputClone).detach();
             // Avoid memory leaks with the detached file input: