aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/bootstrap-typeahead.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-03-24 18:59:04 -0700
committerJacob Thornton <[email protected]>2012-03-24 18:59:04 -0700
commitf02d017ffa2f63609db034410979f62fde328816 (patch)
treeea74ef966815a8d19408f4b263636cce6593fe39 /docs/assets/js/bootstrap-typeahead.js
parent6dc59a9c3e0facab3abed7cb66d90c2316530014 (diff)
downloadbootstrap-f02d017ffa2f63609db034410979f62fde328816.tar.xz
bootstrap-f02d017ffa2f63609db034410979f62fde328816.zip
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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/assets/js/bootstrap-typeahead.js b/docs/assets/js/bootstrap-typeahead.js
index f4d26186c..f366bea63 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)