Skip to content

Commit

Permalink
Updated Buttons snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvdende committed Dec 20, 2013
1 parent 77be87e commit 3db9b25
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Buttons/button.sublime-snippet
@@ -1,8 +1,8 @@
<snippet>
<content><![CDATA[
<a href="${1:#}" data-role="button">${2:button}</a>
<a href="${1:#}" class="ui-btn">${2:button}</a>
]]></content>
<tabTrigger>jqmnbutton</tabTrigger>
<description>jQuery Mobile: Link button</description>
<description>jQuery Mobile 1.4: Link button</description>
<scope>text.html</scope>
</snippet>
8 changes: 4 additions & 4 deletions Buttons/controlgroup.sublime-snippet
@@ -1,12 +1,12 @@
<snippet>
<content><![CDATA[
<div data-role="controlgroup">
<a href="${1:#}" data-role="button">${2:button1}</a>
<a href="${3:#}" data-role="button">${4:button2}</a>
<a href="${5:#}" data-role="button">${6:button3}</a>
<a href="${1:#}" class="ui-btn ui-corner-all">${2:button1}</a>
<a href="${3:#}" class="ui-btn ui-corner-all">${4:button2}</a>
<a href="${5:#}" class="ui-btn ui-corner-all">${6:button3}</a>
</div>
]]></content>
<tabTrigger>jqmcontrolgroup</tabTrigger>
<description>jQuery Mobile: Control group buttons</description>
<description>jQuery Mobile 1.4: Control group buttons</description>
<scope>text.html</scope>
</snippet>
8 changes: 4 additions & 4 deletions Buttons/horizontal-controlgroup.sublime-snippet
@@ -1,12 +1,12 @@
<snippet>
<content><![CDATA[
<div data-role="controlgroup" data-type="horizontal">
<a href="${1:#}" data-role="button">${2:button1}</a>
<a href="${3:#}" data-role="button">${4:button2}</a>
<a href="${5:#}" data-role="button">${6:button3}</a>
<a href="${1:#}" class="ui-btn ui-corner-all">${2:button1}</a>
<a href="${3:#}" class="ui-btn ui-corner-all">${4:button2}</a>
<a href="${5:#}" class="ui-btn ui-corner-all">${6:button3}</a>
</div>
]]></content>
<tabTrigger>jqmcontrolgroup:h</tabTrigger>
<description>jQuery Mobile: Horizontal control group buttons</description>
<description>jQuery Mobile 1.4: Horizontal control group buttons</description>
<scope>text.html</scope>
</snippet>
8 changes: 0 additions & 8 deletions Buttons/icon-button.sublime-snippet

This file was deleted.

4 changes: 2 additions & 2 deletions Buttons/positioned-icon-button.sublime-snippet
@@ -1,8 +1,8 @@
<snippet>
<content><![CDATA[
<a href="${1:#}" data-role="button" data-icon="${2:home}" data-iconpos="${3:right}">${4:button}</a>
<a href="${1:#}" class="ui-btn ui-icon-${2:delete} ui-btn-icon-${3:right}">${4:button}</a>
]]></content>
<tabTrigger>jqmnbutton:ip</tabTrigger>
<description>jQuery Mobile: Link button with a positioned icon</description>
<description>jQuery Mobile 1.4: Link button with a positioned icon</description>
<scope>text.html</scope>
</snippet>

0 comments on commit 3db9b25

Please sign in to comment.