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
path: root/js
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 /js
parent6dc59a9c3e0facab3abed7cb66d90c2316530014 (diff)
return matcher value directly + cleanup first lines of files
Diffstat (limited to 'js')
-rw-r--r--js/bootstrap-alert.js2
-rw-r--r--js/bootstrap-button.js3
-rw-r--r--js/bootstrap-carousel.js2
-rw-r--r--js/bootstrap-collapse.js3
-rw-r--r--js/bootstrap-dropdown.js2
-rw-r--r--js/bootstrap-modal.js2
-rw-r--r--js/bootstrap-popover.js2
-rw-r--r--js/bootstrap-scrollspy.js1
-rw-r--r--js/bootstrap-tab.js2
-rw-r--r--js/bootstrap-tooltip.js3
-rw-r--r--js/bootstrap-transition.js3
-rw-r--r--js/bootstrap-typeahead.js3
12 files changed, 17 insertions, 11 deletions
diff --git a/js/bootstrap-alert.js b/js/bootstrap-alert.js
index 7a1607da15..c7171855d1 100644
--- a/js/bootstrap-alert.js
+++ b/js/bootstrap-alert.js
@@ -18,7 +18,7 @@
* ========================================================== */
-!function( $ ){
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-button.js b/js/bootstrap-button.js
index 6b36753d82..77af03760b 100644
--- a/js/bootstrap-button.js
+++ b/js/bootstrap-button.js
@@ -17,7 +17,8 @@
* limitations under the License.
* ============================================================ */
-!function( $ ){
+
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-carousel.js b/js/bootstrap-carousel.js
index 8ce7418d22..0c8c5a202a 100644
--- a/js/bootstrap-carousel.js
+++ b/js/bootstrap-carousel.js
@@ -18,7 +18,7 @@
* ========================================================== */
-!function( $ ){
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js
index 478eea3912..9f462e6bcc 100644
--- a/js/bootstrap-collapse.js
+++ b/js/bootstrap-collapse.js
@@ -17,7 +17,8 @@
* limitations under the License.
* ============================================================ */
-!function( $ ){
+
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-dropdown.js b/js/bootstrap-dropdown.js
index f26b83f41d..661b22713c 100644
--- a/js/bootstrap-dropdown.js
+++ b/js/bootstrap-dropdown.js
@@ -18,7 +18,7 @@
* ============================================================ */
-!function( $ ){
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js
index 3e0fb14818..f16b565003 100644
--- a/js/bootstrap-modal.js
+++ b/js/bootstrap-modal.js
@@ -18,7 +18,7 @@
* ========================================================= */
-!function( $ ){
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-popover.js b/js/bootstrap-popover.js
index 6f389785cc..ee47e43a2e 100644
--- a/js/bootstrap-popover.js
+++ b/js/bootstrap-popover.js
@@ -18,7 +18,7 @@
* =========================================================== */
-!function( $ ) {
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js
index c02e263b0e..518ccafb24 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -17,6 +17,7 @@
* limitations under the License.
* ============================================================== */
+
!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-tab.js b/js/bootstrap-tab.js
index 974cc0aca2..d46ef790a7 100644
--- a/js/bootstrap-tab.js
+++ b/js/bootstrap-tab.js
@@ -18,7 +18,7 @@
* ======================================================== */
-!function( $ ){
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 7d58a6c8d2..4704d1e029 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -18,7 +18,8 @@
* limitations under the License.
* ========================================================== */
-!function( $ ) {
+
+!function ( $ ) {
"use strict"
diff --git a/js/bootstrap-transition.js b/js/bootstrap-transition.js
index f5226f96de..f73de1c589 100644
--- a/js/bootstrap-transition.js
+++ b/js/bootstrap-transition.js
@@ -17,7 +17,8 @@
* limitations under the License.
* ========================================================== */
-!function( $ ) {
+
+!function ( $ ) {
$(function () {
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js
index f4d26186c7..f366bea637 100644
--- a/js/bootstrap-typeahead.js
+++ b/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)