Skip to content

Commit

Permalink
Update to 3.1, added modal and updated jumbotron
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason committed Feb 5, 2014
1 parent 0659c9c commit ab23334
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cdn/bs3-cdn-css.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
]]></content>
<tabTrigger>bs3-cdn:css</tabTrigger>
</snippet>
2 changes: 1 addition & 1 deletion cdn/bs3-cdn-js.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<content><![CDATA[
<!-- Latest compiled and minified JS -->
${1:<script src="//code.jquery.com/jquery.js"></script>}
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
]]></content>
<tabTrigger>bs3-cdn:js</tabTrigger>
</snippet>
4 changes: 2 additions & 2 deletions cdn/bs3-cdn.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
<!-- Latest compiled and minified CSS & JS -->
<link rel="stylesheet" media="screen" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" media="screen" href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css">
${1:<script src="//code.jquery.com/jquery.js"></script>}
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
]]></content>
<tabTrigger>bs3-cdn</tabTrigger>
</snippet>
2 changes: 1 addition & 1 deletion messages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"install": "messages/install.txt",
"1.1.3": "messages/1-1-3.txt"
"1.1.4": "messages/1-1-4.txt"
}
19 changes: 19 additions & 0 deletions messages/1-1-4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
============================================================
Bootstrap 3 Snippets - Has been updated !! -> v1.1.4
============================================================
Bootstrap v3.1 has been released !!
============================================================
Follow me on Twitter: @JasonMortonNZ
------------------------------------------------------------

New Features
------------------------------------------------------------
- Added bs3-modal snippet to insert modal dialogs
- Updated CDN references to Bootstrap v3.1
- Updated jumbotron button size class name
- COMING SOON - A PHPStorm plugin with all the same snippets
- A Dedicated website for Bootstrap 3 Snippets
- Complete with easy browse docs and videos.
------------------------------------------------------------
Documentation, examples & issue filing can be found here:
https://github.com/JasonMortonNZ/bs3-sublime-plugin
3 changes: 0 additions & 3 deletions modal/bs3-modal.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ ${1:<a class="btn btn-primary" data-toggle="modal" href='#${2:modal-id}'>Trigger
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>bs3-modal</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<!-- <scope>source.python</scope> -->
</snippet>
4 changes: 2 additions & 2 deletions template/bs3-html5-template.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
<meta name=viewport content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap CSS -->
<link href="${3://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css}" rel="stylesheet" media="screen">
<link href="${3://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css}" rel="stylesheet" media="screen">
</head>
<body>
<h1 class="text-center">${6:Hello World}</h1>
<!-- jQuery -->
<script src="${4://code.jquery.com/jquery.js}"></script>
<!-- Bootstrap JavaScript -->
<script src="${5://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js}"></script>
<script src="${5://netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js}"></script>
</body>
</html>
]]></content>
Expand Down

0 comments on commit ab23334

Please sign in to comment.