Used to provide structural templates.
Pattern
t-template-name
t-template-name--modifier-name
t-template-name__subcomponent-name--subcomponent-modifier-name
| var FLUSTHEFLASH = { | |
| delay: 5000, | |
| mclass: ".flashmsg", | |
| opacity: "0.9", | |
| show: function() { | |
| $(this.mclass).hide(); | |
| $(this.mclass).css("opacity", this.opacity) | |
| $(this.mclass).fadeIn("slow").fadeTo((this.delay), 1).fadeOut("slow"); | |
| return false; | |
| } |
| var FLUSTHEFLASH = { | |
| delay: 5000, | |
| mclass: ".flashmsg", | |
| opacity: "0.9", | |
| show: function() { | |
| $(this.mclass).hide(); | |
| $(this.mclass).css("opacity", this.opacity) | |
| $(this.mclass).fadeIn("slow").fadeTo((this.delay), 1).fadeOut("slow"); | |
| return false; | |
| } |
| response = Net::HTTP.post_form(URI.parse('http://gist.github.com/api/v1/xml/new'), { | |
| "files[#{name}]" => contents, | |
| "description" => description, | |
| "login" => login, | |
| "token" => token | |
| }) |
| response = Net::HTTP.post_form(URI.parse('http://gist.github.com/api/v1/xml/new'), { | |
| "files[#{name}]" => contents, | |
| "description" => description, | |
| "login" => login, | |
| "token" => token | |
| }) |
| additional_content = TextMate::UI.request_string :prompt => "Write additional content to the post" |
| ::selection { | |
| background:#cc0000; | |
| color:#fff; | |
| } | |
| ::-moz-selection { | |
| background:#cc0000; | |
| … |
| <p class="reversedemail">moc.liame@eman</p> | |
| <style type="text/css" media="screen"> | |
| .reversedemail { | |
| direction: rtl; | |
| unicode-bidi: bidi-override; | |
| } | |
| </style> |
| #!/bin/bash | |
| # Fullscreen (Lion) | |
| bash <(curl -s -L http://gr3g.me/tm-full) | |
| # Missing Drawer | |
| bash <(curl -s -L http://goo.gl/4RUoP) | |
| mkdir -p ~/Library/Application\ Support/TextMate/Bundles | |
| cd ~/Library/Application\ Support/TextMate/Bundles |
| @mixin pseudo-element($type : "before", $content : "", $css_property : "zoom") { | |
| & { | |
| *#{$css_property}: expression( | |
| this.runtimeStyle.zoom="1", | |
| (is_before_element = ("#{$type}" == 'before')), | |
| (e = this[ is_before_element ? 'insertBefore' : 'appendChild']( document.createElement("small"), is_before_element ? this.firstChild : null )), | |
| e.innerHTML="#{$content}", | |
| e.className="#{$type} pseudo-element" | |
| ); | |
| } |