Update for coding standards
This commit is contained in:
parent
b157fe8eac
commit
2715b745d7
|
@ -4941,7 +4941,7 @@ S2.define('select2/defaults',[
|
|||
|
||||
function matcher (params, data) {
|
||||
// Always return the object if there is nothing to compare
|
||||
if ( params.term == null || params.term.toString().trim() === '' ) {
|
||||
if ( params.term == null || params.term.toString().trim() === '' ) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
@ -6131,7 +6131,7 @@ S2.define('select2/compat/matcher',[
|
|||
function wrappedMatcher (params, data) {
|
||||
var match = $.extend(true, {}, data);
|
||||
|
||||
if (params.term == null || params.term.trim() === '') {
|
||||
if ( params.term == null || params.term.trim() === '' ) {
|
||||
return match;
|
||||
}
|
||||
|
||||
|
|
|
@ -4941,7 +4941,7 @@ S2.define('select2/defaults',[
|
|||
|
||||
function matcher (params, data) {
|
||||
// Always return the object if there is nothing to compare
|
||||
if ( params.term == null || params.term.toString().trim() === '' ) {
|
||||
if ( params.term == null || params.term.toString().trim() === '' ) {
|
||||
return data;
|
||||
}
|
||||
|
||||
|
@ -6131,7 +6131,7 @@ S2.define('select2/compat/matcher',[
|
|||
function wrappedMatcher (params, data) {
|
||||
var match = $.extend(true, {}, data);
|
||||
|
||||
if (params.term == null || params.term.trim() === '') {
|
||||
if ( params.term == null || params.term.trim() === '' ) {
|
||||
return match;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue