Commit Graph

46 Commits

Author SHA1 Message Date
Steve Purcell bdbb1c92aa Add jquery.ready hook after defining plugin, to avoid breakage when used with modernizr/yepnope
See https://gist.github.com/1258742 for an example, which results in the error

"TypeError: Object has no method 'dropdown' at bootstrap-dropdown.js line 31"

It looks like in these circumstances, the functions hooked into
jquery.ready get run immediately, and so applying the dropdown
behavior to specific elements before defining the 'dropdown' method
causes breakage.
2011-10-03 10:05:43 +01:00
Jacob Thornton 0b625d0cb5 Merge branch 'master' of github.com:twitter/bootstrap 2011-10-02 22:33:02 -07:00
Jacob Thornton f8be7a8052 remove options check in modal.js 2011-10-02 22:26:26 -07:00
Jacob Thornton fda10a609c Merge pull request #329 from lmjabreu/master
make tabs plugin play well with nested tabs
2011-09-29 23:42:58 -07:00
Jacob Thornton b2b8a78971 wait for transition to end before triggering shown event 2011-09-29 23:38:11 -07:00
Jacob Thornton 2715a1e09e whitespace 2011-09-29 23:32:10 -07:00
Jacob Thornton 7a153ac817 Merge branch 'fix_hide_before_show_bug' of https://github.com/aaronj1335/bootstrap into aaronj1335-fix_hide_before_show_bug 2011-09-29 23:31:26 -07:00
Jacob Thornton fb749eee5e show should be fals for modal default 2011-09-29 23:12:27 -07:00
Jacob Thornton 87d9343a30 @dmyers settings fix #255 2011-09-29 23:09:53 -07:00
Jacob Thornton a0bf8b67ff change event to use target and relatedTarget (which more closely resembles actual event api) 2011-09-29 23:00:10 -07:00
Jacob Thornton b827303511 changed event should be change event 2011-09-29 22:21:55 -07:00
Jacob Thornton 24b05fe94a Merge branch 'tab-event' of https://github.com/kasperp/bootstrap into kasperp-tab-event 2011-09-29 22:18:08 -07:00
Luis Abreu 9a2440aafa tweaked bootstrap-tabs plugin active tab selector to allow for nested tabs 2011-09-28 22:08:26 +01:00
Aaron Stacy 616f136371 return this 2011-09-23 16:09:18 -05:00
Aaron Stacy 1066ec4a79 updated if statement form 2011-09-23 13:38:08 -05:00
Aaron Stacy d541eceb51 added bug fix for hide-before-show bug
this commit fixes a bug where .modal('hide') is called on a modal object before
.modal('show').  this can be viewed here:

    http://jsfiddle.net/aaronj1335/7hH89/8/

(notice the JS exception that is thrown)
2011-09-23 08:46:08 -05:00
Jacob Thornton 68605bdd51 add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00
Jacob Thornton f2e15402c8 fix reflow typo - should be $element not $backdrop 2011-09-20 14:50:14 -07:00
Jacob Thornton 01ab4caa5b Merge branch 'master' of github.com:twitter/bootstrap 2011-09-19 20:14:33 -07:00
Jacob Thornton 0c6a2acd7e remove var O_O 2011-09-19 20:13:51 -07:00
Jacob Fike 9b61f71835 fixes #258, clicking a tab remove .active class from all elements on the page 2011-09-19 11:54:20 -07:00
Jacob Thornton fc6effae51 listen to document for ie 2011-09-18 21:13:56 -07:00
Jacob Thornton ac8001190a force reflow instead of relying on eventloop (firefox)
listen to window for escape press
2011-09-18 21:03:52 -07:00
Jacob Thornton ba6f4f03da lemme smang it giiiirl 2011-09-18 19:05:21 -07:00
Kasper Bøgebjerg Pedersen e16de59260 Added changed event to bootstrap-tabs.js 2011-09-18 10:15:24 +02:00
Jacob Thornton 7b614cfa01 allow backdrop option to accept "static" option 2011-09-17 14:20:51 -07:00
Nick Veys 2cb233319d Adding flag to prevent backdrop click hiding modal 2011-09-17 15:08:16 -05:00
Jacob Thornton f0d5caf054 check for jquery/ender on window 2011-09-16 11:09:26 -07:00
Jacob Thornton d1b594db7a $(document).ready instead of $(function() {}) for ender support 2011-09-15 23:16:06 -07:00
Jacob Thornton ad87e11f03 add version number to js comments 2011-09-12 11:15:32 -07:00
Jacob Thornton dcf9aabc44 get all spec passing again 2011-09-11 22:58:51 -07:00
Jacob Thornton 200f5817ba method invocation jqueryui style 2011-09-11 21:03:17 -07:00
Jacob Thornton 173be3f1e8 change hella js... broke all the tests. i <3 wip 2011-09-11 20:08:43 -07:00
Jacob Thornton 709789d16d clicking open dropdown shoud close it 2011-09-10 22:28:17 -07:00
Jacob Thornton 7e5b304dbf add liscense to js files 2011-09-10 22:24:31 -07:00
Jacob Thornton 64176caa97 add bootstrap-scrollspy 2011-09-10 22:14:57 -07:00
Jacob Thornton a71d5d8e99 add the dhg flavor back 2011-09-10 19:01:16 -07:00
Jacob Thornton 235246d6fc not feeling the slide in 2011-09-10 18:26:37 -07:00
Jacob Thornton 9c76070cbd rework the transitions for the modal a bit 2011-09-10 18:13:37 -07:00
Jacob Thornton 5f65df9e2d add some more events to alerts and modal and update docs 2011-09-10 14:04:22 -07:00
Jacob Thornton 1041977d0a finish up rounding out tests for all js plugins 2011-09-10 13:17:08 -07:00
Jacob Thornton 48aa209348 more tests, more js goodness 2011-09-10 12:49:21 -07:00
Jacob Thornton 5f4e30ed1d move js plugins to root dir, begin writing tests, and change modal plugin to be more boss like 2011-09-09 22:47:49 -07:00
Jacob Thornton 96c3e70996 cleanup old stuff 2011-05-03 18:12:43 -07:00
Mark Otto 677b5554f3 Remove the unnecessary global.js file, remove the old baseline grid image, add in hashgrid, update readme to remove finished todos; 2011-04-27 14:49:56 -07:00
Mark Otto eb81782cdb Porting over all Blueprint styles to new Baseline repo 2011-04-27 13:53:51 -07:00