Permalink
Browse files

update with changes by Nickolas Daskalou

  • Loading branch information...
1 parent 4b17331 commit 0c3fe60e70351ccfc2c512fe0657a3015139e4d3 @chrisanderton chrisanderton committed Mar 24, 2009
Showing with 282 additions and 38 deletions.
  1. +11 −1 README.md
  2. +271 −37 js/facebooklist.js
View
@@ -14,6 +14,7 @@ Copyright: InteRiders <http://interiders.com/> - Distributed under MIT - Keep th
- Zuriel Barron, severelimitation.com
- Sean Cribbs
- [skaue]
+ - Nickolas Daskalou
## Changelog
@@ -49,4 +50,13 @@ Copyright: InteRiders <http://interiders.com/> - Distributed under MIT - Keep th
### 0.5
- Add search timeout to increase responsiveness to typing.
- Add non-standard autocomplete attribute to main input to prevent browser-supplied autocompletion in Gecko and some other browsers.
- - bug when gsub'ing space wth "spaceReplace". Input-field does not have a function gsub, though its value has.
+ - bug when gsub'ing space wth "spaceReplace". Input-field does not have a function gsub, though its value has.
+
+### 0.6
+ - Update with changes by Nickolas Daskalou
+ - Option to specify whether to perform a case sensitive search or not (option: "caseSensitive", default: false).
+ - Option to specify whether you want the search to be performed by regular expression or by simple text search (option: "regexSearch", default: true). Non-regular expression searching is MUCH faster than by regular expression (this is the way the real Facebook autocomplete search works).
+ - Option to specify a callback upon the user hitting Enter/Return when the input is blank (option: "onEmptyInput", default: function(){}). I needed this because I did not want the user to have to move their hand off the keyboard to the mouse and then click on the submit/action button.
+ - Option to specify the maximum number of results to show (NOT the same as the "result" option, see comments below) (option: "maxResults", default: 10).
+ - NOTE ON THE NON-REGULAR EXPRESSION SEARCH: If using non-regular expression search mode, the option "matchWord" WILL HAVE NO EFFECT on the results (ie., it will behave as if matchWord were set to false). This can be fixed but at 5am my pillow is looking too good to spend more time on this, so if anyone needs this feel free to email me a request and I'll get it done (nick at footysx.com.au).
+ - NOTE ON THE MAXRESULTS OPTION: The difference between the options "results" and "maxResults" is that "results" specifies the maximum number of visible rows allowed to be shown to the user before a scrollbar activates, whereas "maxResults" specifies the maximum number of results allowed to be in the scrollable list.
Oops, something went wrong.

0 comments on commit 0c3fe60

Please sign in to comment.