Skip to content

Instantly share code, notes, and snippets.

Brandon Minch brandonminch

Block or report user

Report or block brandonminch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:9646117
Click any element on your site to edit its properties.
Double-click links to navigate.
*Global Runyon styles
body, html {
margin: 0px;
padding: 0px;
View gist:9493728
'initialize': function () {
$elements = $('h2, h3, h4, h5, li, p, a, input, option, button, span, i');
$(window).resize(_.throttle(function () {
}, 200));
'repaintType': function (elements) {
brandonminch / Backbone - View Loader
Created Jul 19, 2013
View loader for backbone views.
View Backbone - View Loader
'loadViews': function (views, callback) {
var self = this,
viewPaths =, function (view) {
return 'views/' + view;
require(viewPaths, function () {
var args = arguments;
_.each(args, function (view, i) {
View gist:4666986
// dynamic sprite
$sprite: sprite-map("sprite/*.png", $spacing: 5);
$sprite-retina: sprite-map("sprite-retina/*.png", $spacing: 30);
$sprite-background: sprite-url($sprite) no-repeat transparent;
$sprite-retina-background-image: sprite-url($sprite-retina);
@mixin background-sprite($selector, $setHeight: false, $setWidth: false, $offset-x: 0, $offset-y: 0, $retina-offset-x: false, $retina-offset-y: false) {
background: $sprite-background;
background-position: sprite-position($sprite, $selector, $offset-x, $offset-y);
background-repeat: no-repeat;
You can’t perform that action at this time.