Commit Graph

9 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 68605bdd51 add semicolon to end of file while i think about better solution... 2011-09-22 13:13:55 -07:00
Jacob Thornton ba6f4f03da lemme smang it giiiirl 2011-09-18 19:05:21 -07:00
Jacob Thornton f0d5caf054 check for jquery/ender on window 2011-09-16 11:09:26 -07:00
Jacob Thornton ad87e11f03 add version number to js comments 2011-09-12 11:15:32 -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 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