fix lint warns

This commit is contained in:
vitalets 2013-02-05 00:31:49 +04:00
parent 35c240ad81
commit 57fe0a3f3d
2 changed files with 5 additions and 3 deletions
src
inputs-ext/address
inputs

@ -111,7 +111,9 @@ $(function(){
@param {mixed} value
**/
value2input: function(value) {
if(!value) return;
if(!value) {
return;
}
this.$input.filter('[name="city"]').val(value.city);
this.$input.filter('[name="street"]').val(value.street);
this.$input.filter('[name="building"]').val(value.building);

@ -139,7 +139,7 @@ $(function(){
/*
Typeahead option methods used as defaults
*/
/*jshint eqeqeq:false, curly: false, laxcomma: true*/
/*jshint eqeqeq:false, curly: false, laxcomma: true, asi: true*/
matcher: function (item) {
return $.fn.typeahead.Constructor.prototype.matcher.call(this, item.text);
},
@ -235,7 +235,7 @@ $(function(){
e.stopPropagation()
}
/*jshint eqeqeq: true, curly: true, laxcomma: false*/
/*jshint eqeqeq: true, curly: true, laxcomma: false, asi: false*/
});