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 | |
parent | 6dc59a9c3e0facab3abed7cb66d90c2316530014 (diff) |
return matcher value directly + cleanup first lines of files
25 files changed, 34 insertions, 22 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 9301d50c45..e55e7eee21 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/assets/js/bootstrap-alert.js b/docs/assets/js/bootstrap-alert.js index 7a1607da15..c7171855d1 100644 --- a/docs/assets/js/bootstrap-alert.js +++ b/docs/assets/js/bootstrap-alert.js @@ -18,7 +18,7 @@ * ========================================================== */ -!function( $ ){ +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-button.js b/docs/assets/js/bootstrap-button.js index 6b36753d82..77af03760b 100644 --- a/docs/assets/js/bootstrap-button.js +++ b/docs/assets/js/bootstrap-button.js @@ -17,7 +17,8 @@ * limitations under the License. * ============================================================ */ -!function( $ ){ + +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-carousel.js b/docs/assets/js/bootstrap-carousel.js index 8ce7418d22..0c8c5a202a 100644 --- a/docs/assets/js/bootstrap-carousel.js +++ b/docs/assets/js/bootstrap-carousel.js @@ -18,7 +18,7 @@ * ========================================================== */ -!function( $ ){ +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-collapse.js b/docs/assets/js/bootstrap-collapse.js index 478eea3912..9f462e6bcc 100644 --- a/docs/assets/js/bootstrap-collapse.js +++ b/docs/assets/js/bootstrap-collapse.js @@ -17,7 +17,8 @@ * limitations under the License. * ============================================================ */ -!function( $ ){ + +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-dropdown.js b/docs/assets/js/bootstrap-dropdown.js index f26b83f41d..661b22713c 100644 --- a/docs/assets/js/bootstrap-dropdown.js +++ b/docs/assets/js/bootstrap-dropdown.js @@ -18,7 +18,7 @@ * ============================================================ */ -!function( $ ){ +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-modal.js b/docs/assets/js/bootstrap-modal.js index 3e0fb14818..f16b565003 100644 --- a/docs/assets/js/bootstrap-modal.js +++ b/docs/assets/js/bootstrap-modal.js @@ -18,7 +18,7 @@ * ========================================================= */ -!function( $ ){ +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-popover.js b/docs/assets/js/bootstrap-popover.js index 6f389785cc..ee47e43a2e 100644 --- a/docs/assets/js/bootstrap-popover.js +++ b/docs/assets/js/bootstrap-popover.js @@ -18,7 +18,7 @@ * =========================================================== */ -!function( $ ) { +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-scrollspy.js b/docs/assets/js/bootstrap-scrollspy.js index c02e263b0e..518ccafb24 100644 --- a/docs/assets/js/bootstrap-scrollspy.js +++ b/docs/assets/js/bootstrap-scrollspy.js @@ -17,6 +17,7 @@ * limitations under the License. * ============================================================== */ + !function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-tab.js b/docs/assets/js/bootstrap-tab.js index 974cc0aca2..d46ef790a7 100644 --- a/docs/assets/js/bootstrap-tab.js +++ b/docs/assets/js/bootstrap-tab.js @@ -18,7 +18,7 @@ * ======================================================== */ -!function( $ ){ +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-tooltip.js b/docs/assets/js/bootstrap-tooltip.js index 7d58a6c8d2..4704d1e029 100644 --- a/docs/assets/js/bootstrap-tooltip.js +++ b/docs/assets/js/bootstrap-tooltip.js @@ -18,7 +18,8 @@ * limitations under the License. * ========================================================== */ -!function( $ ) { + +!function ( $ ) { "use strict" diff --git a/docs/assets/js/bootstrap-transition.js b/docs/assets/js/bootstrap-transition.js index f5226f96de..f73de1c589 100644 --- a/docs/assets/js/bootstrap-transition.js +++ b/docs/assets/js/bootstrap-transition.js @@ -17,7 +17,8 @@ * limitations under the License. * ========================================================== */ -!function( $ ) { + +!function ( $ ) { $(function () { 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) 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) |