diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-25 05:59:04 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-25 05:59:04 +0400 |
commit | f02d017ffa2f63609db034410979f62fde328816 (patch) | |
tree | ea74ef966815a8d19408f4b263636cce6593fe39 /docs/assets/js/bootstrap-typeahead.js | |
parent | 6dc59a9c3e0facab3abed7cb66d90c2316530014 (diff) |
return matcher value directly + cleanup first lines of files
Diffstat (limited to 'docs/assets/js/bootstrap-typeahead.js')
-rw-r--r-- | docs/assets/js/bootstrap-typeahead.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-typeahead.js b/docs/assets/js/bootstrap-typeahead.js index f4d26186c7..f366bea637 100644 --- a/docs/assets/js/bootstrap-typeahead.js +++ b/docs/assets/js/bootstrap-typeahead.js @@ -17,6 +17,7 @@ * limitations under the License. * ============================================================ */ + !function( $ ){ "use strict" @@ -78,7 +79,7 @@ } items = $.grep(this.source, function (item) { - if (that.matcher(item)) return item + return that.matcher(item) }) items = this.sorter(items) |