Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


bootstrap version 2.0 support #9

wants to merge 1 commit into from

1 participant


Bootstrap 2.0 changed some former syntax a little, especially for 'modal', this pull request make it works again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 20, 2013
  1. @donnior

    add bootstrap 2.0 support

    donnior authored
This page is out of date. Refresh to see the latest.
BIN  .DS_Store
Binary file not shown
2  Components/tabs-stacked.sublime-snippet
@@ -7,6 +7,6 @@
- <description>Bootstrap basic tabs</description>
+ <description>Bootstrap basic tabs with stacked</description>
9 Javascript Plugins/carousel.sublime-snippet
@@ -1,6 +1,11 @@
<div id="myCarousel" class="carousel slide">
+ <ol class="carousel-indicators">
+ <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
+ <li data-target="#myCarousel" data-slide-to="1"></li>
+ <li data-target="#myCarousel" data-slide-to="2"></li>
+ </ol>
<div class="carousel-inner">
<div class="item">
<img src="" alt="">
@@ -24,8 +29,8 @@
- <a class="left carousel-control" href="#myCarousel" data-slide="prev"></a>
- <a class="right carousel-control" href="#myCarousel" data-slide="next"></a>
+ <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
+ <a class="carousel-control right" href="#myCarousel" data-slide="next">&rsaquo;</a>
26 Javascript Plugins/modal.sublime-snippet
@@ -1,18 +1,18 @@
-<a class="btn" data-toggle="modal" href="#myModal">Launch Modal</a>
-<div class="modal" id="myModal">
- <div class="modal-header">
- <a class="close" data-dismiss="modal">&times;</a>
- <h3>Modal header</h3>
- </div>
- <div class="modal-body">
- <p>One fine body…</p>
- </div>
- <div class="modal-footer">
- <a href="#" class="btn btn-primary">Save changes</a>
- <a href="#" class="btn">Close</a>
- </div>
+<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
+<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
+ <div class="modal-header">
+ <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
+ <h3 id="myModalLabel">Modal header</h3>
+ </div>
+ <div class="modal-body">
+ <p>One fine body…</p>
+ </div>
+ <div class="modal-footer">
+ <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
+ <button class="btn btn-primary">Save changes</button>
+ </div>
2  Javascript Plugins/tooltip.sublime-snippet
@@ -1,6 +1,6 @@
-<a href="#" rel="tooltip" title="first tooltip">hover over me</a>
+<a href="#" data-toggle="tooltip" data-placement="top" title="Default tooltip">tooltip text</a>
<description>Bootstrap tooltips</description>
Something went wrong with that request. Please try again.