diff --git a/src/inputs-ext/address/address.js b/src/inputs-ext/address/address.js index 5477d64..c336d87 100644 --- a/src/inputs-ext/address/address.js +++ b/src/inputs-ext/address/address.js @@ -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); diff --git a/src/inputs/typeahead.js b/src/inputs/typeahead.js index dc6d7e1..8f1ba36 100644 --- a/src/inputs/typeahead.js +++ b/src/inputs/typeahead.js @@ -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*/ });