fix lint warns

This commit is contained in:
vitalets 2012-12-06 15:33:22 +04:00
parent a8147f33af
commit 4887e7b6e3

@ -94,9 +94,11 @@ $(function(){
//collect text of checked boxes
value2htmlFinal: function(value, element) {
var html = [],
/*jslint eqeq: true*/
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) {
$.each(checked, function(i, v) { html.push($.fn.editableutils.escape(v.text)); });
$(element).html(html.join('<br>'));