Skip to content

Commit 919cb06

Browse files
committed
Fixed formatting
1 parent 023f97c commit 919cb06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/assets/javascripts/autocomplete-rails-uncompressed.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
});
7272
}
7373
jQuery.getJSON( jQuery(e).attr('data-autocomplete'), params, function() {
74-
var options = {}
74+
var options = {};
7575
jQuery.extend(options, jQuery.railsAutocomplete.options);
7676
jQuery.each(options, function(key, value) {
7777
if(options.hasOwnProperty(key)) {
78-
var attr_val = jQuery(e).attr('data-' + key);
79-
options[key] = attr_val ? attr_val : value;
78+
var attrVal = jQuery(e).attr('data-' + key);
79+
options[key] = attrVal ? attrVal : value;
8080
}
8181
});
8282
if(arguments[0].length == 0 && options.showNoMatches) {

0 commit comments

Comments
 (0)