Skip to content

Instantly share code, notes, and snippets.

View zachinglis's full-sized avatar

Zach Inglis zachinglis

View GitHub Profile
<div>
<ul>
{% for item in site.data.navigation.navsecondary %}
<li>{{ item.title }}</li>
{% if item.subnav %}
<!-- This appears fine -->
$list = $('.collections__list');
$item = $list.find('.list__item--is-selected');
$prev = $item.prev();
if ($(window).width() < 700) {
// collections put whatever collection is selected at top of list on mobile
$list.prependTo('.collections__list');
}
// collections put whatever collection is selected at top of list on mobile
@zachinglis
zachinglis / bio.md
Last active December 13, 2015 17:29 — forked from andrew/andrewnesbitt.jpeg

Andrew Nesbitt

Andrew is a full stack developer. He spends most of his days programming in Ruby, Node.js, contributing to open source projects and organising local developer user groups. He also aspires to one day take over the world with a fleet of JavaScript powered quadcopters. His nickanme is about guitars, not fishes!

@zachinglis
zachinglis / scenario_blueprints.rb
Created August 22, 2011 14:15 — forked from MrJaba/scenario_blueprints.rb
Scenario Blueprints
##In test file
#setup do
# load_scenario("bookshop_a")
#end
#
#test "Franks has 5 books" do
# assert_equal 5, @frank.books.count
#end
#