Instantly share code, notes, and snippets.

View tutti-frutti.css
.highlight, .highlight pre, .highlight code {
color: #333;
}
.highlight .n { /* name */
color: #1b9af7;
}
.highlight .k { /* keyword */
color: #8bd300;
}
.highlight .o { /* operator */
View imageHandler.js
function imageHandler(action, image, callback) {
switch (action) {
case 'fallback':
if (image.hasAttribute('data-fallback')) {
image.style.backgroundColor = image.getAttribute('data-fallback');
}