- Ultimate Guide to CSS Sept 2013
- Responsive Email Design (8 chapters)
- Optimising for Progressive Disclosure Aug 2011
- Fluid Layouts for HTML Email Design Sept 2011
- How to serve hi-res images for retina screens Mar 2012
- HTML Without Tables March 2011
- How-To Guide to Responsive Email Design (Infographic) Sept 2013
- Email Clients and their Rendering Engines Sept 2013
- Create Emails for Any Device without @media queries Nov 2012
- Optimising for Gmail/Outlook Snippets *O
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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Placeholders.js Default Config</title> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"> | |
</head> | |
<body class="placeholder-example"> | |
<input type="text" placeholder="I have a placeholder!"><br> | |
<input type="password" placeholder="Password placeholders!"><br> |
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
<!doctype html> | |
<html data-placeholder-focus="false"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Placeholders.js Default Config</title> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"> | |
</head> | |
<body class="placeholder-example"> | |
<input type="text" placeholder="I have a placeholder!"><br> | |
<input type="password" placeholder="Password placeholders!"><br> |
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
<!doctype html> | |
<html data-placeholder-live="false"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Placeholders.js Default Config</title> | |
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css"> | |
</head> | |
<body class="placeholder-example"> | |
<input type="text" placeholder="I have a placeholder!"><br> | |
<input type="password" placeholder="Password placeholders!"><br> |
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
// Just hide them all | |
$(".comment-body").each(function (e) { | |
if($(this).text().trim() === "+1") { | |
$(this).closest(".discussion-bubble").hide(); | |
} | |
}); | |
// Hide them all and show a count of them next to the "participants" list | |
$(".pull-participation").append("<p class='quickstat' style='float:right'><b>" + $(".comment-body").filter(function (e) { | |
return $(this).text().trim() === "+1"; |
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
<!doctype> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="emoji.min.css"> | |
<script src="angular.min.js"></script> | |
<script src="emoji.min.js"></script> | |
</head> | |
<body ng-app ng-controller="AppCtrl"> | |
<textarea ng-model="message"></textarea> |
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
<a href="/account">Your account</a> | |
<h2>Your friends</h2> | |
<ul> | |
<li ng-repeat="friend in friends"> | |
<a ng-href="/users/{{ friend.id }}">{{ friend.name }}</a> | |
</li> | |
</ul> |
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
<a ng-href="{{ routes.get('account') }}">Your account</a> | |
<h2>Your friends</h2> | |
<ul> | |
<li ng-repeat="friend in friends"> | |
<a ng-href="{{ routes.get('user', { id: friend.id }) }}">{{ friend.name }}</a> | |
</li> | |
</ul> |
I hereby claim:
- I am jamesallardice on github.
- I am jallardice (https://keybase.io/jallardice) on keybase.
- I have a public key whose fingerprint is 05B9 F06E 6E8D F159 96BD B2B0 6CAE E07B CA24 4767
To claim this, I am signing this object:
Given an ES6 file, demo.es6
that contains template strings:
let x = 'x';
console.log(`x is ${ x }`);
The following code within a generator method throws a reference error (x is not defined):
OlderNewer