This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tooltip | |
display: inline-block | |
position: relative | |
margin-left: 5px | |
vertical-align: baseline | |
width: 14px | |
height: 14px | |
cursor: pointer | |
.tip | |
display:none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_.flatten( _.zip( def.split(/\{[0-9]\}/), options ) ).join(" ") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! 5 | |
//if lt IE 7 | |
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> | |
//if IE 7 | |
<html class="no-js lt-ie9 lt-ie8"> | |
//if IE 8 | |
<html class="no-js lt-ie9"> | |
// [if gt IE 8] <! | |
html(class="no-js", lang="en") | |
// <![endif] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var coll = [ | |
{ | |
"str": "batman", | |
"nested": [ | |
{ | |
"value": "batman" | |
}, | |
{ | |
"value": "spiderman" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> You've just sent an email template with Handlebars</h1> | |
<p> This email was sent to <a href="mailto:{{email}}">email</a> </p> | |
{{#if amazing}} | |
<p>You are amazing!</p> | |
{{else}} | |
<p>You did it!</p> | |
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h1 You've just sent a Jade email template from URI | |
p this email was sent to | |
a(href="mailto:"+email)=email | |
if amazing | |
p You are amazing! | |
else | |
p You did it! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You've just sent a plain text email with EJS | |
this email was sent to <%= email %> | |
<% if (amazing) { %> | |
You are amazing! | |
<% } else { %> | |
You did it! | |
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1> You've just sent an HTML template with EJS</h1> | |
<p> This email was sent to <a href="mailto:<%= email %>"><%= email %></a> </p> | |
<% if (amazing) { %> | |
<p>You are amazing!</p> | |
<% } else { %> | |
<p>You did it!</p> | |
<% } %> |
OlderNewer