minor cleanup

This commit is contained in:
kayone
2013-10-08 22:48:40 -07:00
parent 4948d0608b
commit 9ed7546279
16 changed files with 40 additions and 33 deletions
+4 -3
View File
@@ -2,9 +2,10 @@
define(
[
'backbone',
'jquery',
'Series/SeriesCollection'
], function (Backbone, SeriesCollection) {
$(document).on('keydown', function (e){
], function (Backbone, $, SeriesCollection) {
$(document).on('keydown', function (e) {
if ($(e.target).is('input')) {
return;
}
@@ -17,7 +18,7 @@ define(
$.fn.bindSearch = function () {
$(this).typeahead({
source : function () {
source: function () {
return SeriesCollection.pluck('title');
},