0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-10 22:24:19 +01:00
Bootstrap/js
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
..
tests change event to use target and relatedTarget (which more closely resembles actual event api) 2011-09-29 23:00:10 -07:00
bootstrap-alerts.js add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00
bootstrap-dropdown.js Add jquery.ready hook after defining plugin, to avoid breakage when used with modernizr/yepnope 2011-10-03 10:05:43 +01:00
bootstrap-modal.js remove options check in modal.js 2011-10-02 22:26:26 -07:00
bootstrap-popover.js add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00
bootstrap-scrollspy.js add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00
bootstrap-tabs.js Merge pull request #329 from lmjabreu/master 2011-09-29 23:42:58 -07:00
bootstrap-twipsy.js add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00