Skip to content

Commit

Permalink
Minor syntactical changes to pass JSLint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Morris committed Feb 20, 2017
1 parent 26a7282 commit 8de36ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jquery.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
if (typeof define === 'function' && define.amd) {
// using AMD; register as anon module
define(['jquery'], factory);
} if (typeof module !== 'undefined' {
} if (typeof module !== 'undefined') {
factory(require('jquery'));
} else {
// no AMD; invoke directly
Expand Down Expand Up @@ -115,7 +115,7 @@ $.fn.ajaxSubmit = function(options, data, dataType, onSuccess) {
options = {
'url' : options,
'data' : data,
'dataType' : dataType,
'dataType' : dataType
};

if(typeof onSuccess == 'function')
Expand Down Expand Up @@ -877,7 +877,7 @@ $.fn.ajaxForm = function(options, data, dataType, onSuccess) {
options = {
'url' : options,
'data' : data,
'dataType' : dataType,
'dataType' : dataType
};

if (typeof onSuccess == 'function') {
Expand Down Expand Up @@ -1003,7 +1003,7 @@ $.fn.formToArray = function(semantic, elements, filtering) {
}

if ($.isFunction(filtering)) {
var els = $.map(els, filtering);
els = $.map(els, filtering);
}

var i,j,n,v,el,max,jmax;
Expand Down

0 comments on commit 8de36ff

Please sign in to comment.