Skip to content

Commit 949daa1

Browse files
committed
Fix inspections; try fix travis
1 parent 9adb26a commit 949daa1

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

.hound.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jshint:
2+
ignore_file: .jshintignore

.jshintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/assets/javascripts/autocomplete-rails.js

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
rvm:
22
- 1.9.3
3-
- 2.0.0
3+
- 2.3.1

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424
}
2525
};
2626
if (jQuery.fn.on !== undefined) {
27-
return this.selector ? jQuery(document).on('focus',this.selector,handler) : undefined;
27+
if (!this.selector) {
28+
return;
29+
}
30+
return jQuery(document).on('focus',this.selector,handler);
2831
}
2932
else {
3033
return this.live('focus',handler);

lib/assets/javascripts/autocomplete-rails.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)