Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-03-25 05:59:04 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-03-25 05:59:04 +0400
commitf02d017ffa2f63609db034410979f62fde328816 (patch)
treeea74ef966815a8d19408f4b263636cce6593fe39 /docs/assets/js/bootstrap-typeahead.js
parent6dc59a9c3e0facab3abed7cb66d90c2316530014 (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.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 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)