From aaf48d372fca2d4e4cd9ae7e18166d9a947ea97d Mon Sep 17 00:00:00 2001 From: Nicholas Bergson-Shilcock Date: Mon, 11 Jun 2012 12:28:15 -0400 Subject: [PATCH] Fix issue #4 (options arg isn't optional) --- jquery.fastLiveFilter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/jquery.fastLiveFilter.js b/jquery.fastLiveFilter.js index 5167dfc..2bcd62a 100644 --- a/jquery.fastLiveFilter.js +++ b/jquery.fastLiveFilter.js @@ -8,6 +8,7 @@ jQuery.fn.fastLiveFilter = function(list, options) { // Options: input, list, timeout, callback + options = options || {}; list = jQuery(list); var input = this; var timeout = options.timeout || 0;