Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

bootstrap version 2.0 support #9

Open
wants to merge 1 commit into from

1 participant

@donnior

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.
View
BIN  .DS_Store
Binary file not shown
View
2  Components/tabs-stacked.sublime-snippet
@@ -7,6 +7,6 @@
</ul>
]]></content>
<tabTrigger>tbtabs:s</tabTrigger>
- <description>Bootstrap basic tabs</description>
+ <description>Bootstrap basic tabs with stacked</description>
<scope>text.html</scope>
</snippet>
View
9 Javascript Plugins/carousel.sublime-snippet
@@ -1,6 +1,11 @@
<snippet>
<content><![CDATA[
<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="http://twitter.github.com/bootstrap/assets/img/bootstrap-mdo-sfmoma-01.jpg" alt="">
@@ -24,8 +29,8 @@
</div>
</div>
</div>
- <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>
</div>
]]></content>
<tabTrigger>tbcarousel</tabTrigger>
View
26 Javascript Plugins/modal.sublime-snippet
@@ -1,18 +1,18 @@
<snippet>
<content><![CDATA[
-<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>
</div>
]]></content>
<tabTrigger>tbmodal</tabTrigger>
View
2  Javascript Plugins/tooltip.sublime-snippet
@@ -1,6 +1,6 @@
<snippet>
<content><![CDATA[
-<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>
]]></content>
<tabTrigger>tbtooltip</tabTrigger>
<description>Bootstrap tooltips</description>
Something went wrong with that request. Please try again.