Skip to content

Commit 6741b7b

Browse files
committed
Refactor last merge to adhere to JSLint rules.
Updated version number.
1 parent 48400f3 commit 6741b7b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

js/jquery.fileupload.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* jQuery File Upload Plugin 5.20
2+
* jQuery File Upload Plugin 5.21
33
* https://github.com/blueimp/jQuery-File-Upload
44
*
55
* Copyright 2010, Sebastian Tschan
@@ -34,14 +34,14 @@
3434
$.support.xhrFormDataFileUpload = !!window.FormData;
3535

3636
// The form.elements propHook is added to filter serialized elements
37-
// to not include file inputs in jQuery 1.9.0
38-
// This hooks directly into jQuery.fn.serializeArray
37+
// to not include file inputs in jQuery 1.9.0.
38+
// This hooks directly into jQuery.fn.serializeArray.
3939
// For more info, see http://bugs.jquery.com/ticket/13306
4040
$.propHooks.elements = {
41-
get: function(form) {
42-
if (jQuery.nodeName(form, "form")) {
43-
return jQuery.grep(form.elements, function(elem) {
44-
return !jQuery.nodeName(elem, "input") || elem.type !== "file";
41+
get: function (form) {
42+
if ($.nodeName(form, 'form')) {
43+
return $.grep(form.elements, function (elem) {
44+
return !$.nodeName(elem, 'input') || elem.type !== 'file';
4545
});
4646
}
4747
return null;

0 commit comments

Comments
 (0)