fix lint warns
This commit is contained in:
@ -94,9 +94,11 @@ $(function(){
|
|||||||
//collect text of checked boxes
|
//collect text of checked boxes
|
||||||
value2htmlFinal: function(value, element) {
|
value2htmlFinal: function(value, element) {
|
||||||
var html = [],
|
var html = [],
|
||||||
|
/*jslint eqeq: true*/
|
||||||
checked = $.grep(this.sourceData, function(o){
|
checked = $.grep(this.sourceData, function(o){
|
||||||
return $.grep(value, function(v){return v == o.value;}).length;
|
return $.grep(value, function(v){ return v == o.value; }).length;
|
||||||
});
|
});
|
||||||
|
/*jslint eqeq: false*/
|
||||||
if(checked.length) {
|
if(checked.length) {
|
||||||
$.each(checked, function(i, v) { html.push($.fn.editableutils.escape(v.text)); });
|
$.each(checked, function(i, v) { html.push($.fn.editableutils.escape(v.text)); });
|
||||||
$(element).html(html.join('<br>'));
|
$(element).html(html.join('<br>'));
|
||||||
|
Reference in New Issue
Block a user