confusing code cleanup
add caching var for $ call
Upgrading modular vars for zero output

This will change the current behavior so that setting $include-html-classes: false; and $include-print-styles: false; will produce an empty css file.

This way users can add in only the pieces they want to include by setting: $include-html-classes: false; and $include-html-XYZ-classes: true;
Fix #2257 - Improve custom select event robustness

Custom form selects use .prev() to find the underlying select field.
This breaks with plugins like jQuery Validate that insert content between
the underlying select element and the custom markup element. This patch
uses prevAll('select').first() to select the closest previous sibling
element to improve the robustness of this functionality.
Update _clearing.scss

When creating a clearing gallery using block-grid for presentation, some styles interfere with the presentation of clearing.
Example:

<ul class="large-block-grid-4 clearing-thumbs" data-clearing>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li> <- This thumbnail will appear on second line
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
<li><a href="#" class="th"><img src="myimage.jpg"></a></li>
</ul>

The style for the block-grid break the presentation of the clearing thumbnails with this selector .large-block-grid-4 > li:nth-of-type(4n+1) because the fith thumbnail will be cleared and floated to the left.
Missing : in $topbar-media-query

Fixes an iPad landscape error, which didn't show topbar correct.
Nested side_nav items corrected styles

When nesting side_nav items (ul) only the direct first-child should get
a different style.
Changed font-smoothing to subpixel rendering

The antialiased mode is generally less good at rendering fine or sharp edged fonts than with subpixel rendering. (which is the default in webkit I think)
Introduced separate variable for custom form class generation
make custom form (checkbox, radio button) a little more customizable
Show DIVs for @media print

Don't remove all DIVs except .reveal-modal. Make .reveal-modal's
background white to aviod overlaying transparent DIVs
Remove fixed top bar bottom margin
Remove tip guides on end

I have a couple of joyrides on my page and I launch them on different situations. I needed to remove existing tip guides to prevent old ones from showing when second joyride starts.

This tiny edit seems to fix the problem.

Code sample:

JS:
$(document).foundation();

function fire1() { $('#first').foundation('joyride', 'start', { ...settings... }); }

function fire2() { $('#second').foundation('joyride', 'start', { ...settings... }); }

HTML:
<snip>
<div id="first"><ol data-joyride>....</ol></div>
<div id="second"><ol data-joyride>....</ol></div>
</snip>
Remove confusing "h1." from header example for h5 and h6.

Can't believe they are supposed to be there.
updated small/large-centered classes and added large-uncentered so people can keep centering only on small if they want
Added Foundationify Shopify theme link to readme.md
Merge branch 'modular-classes-upgrade' of github.com:ascottmccauley/foundation into ascottmccauley-modular-classes-upgrade
Merge branch 'master' of github.com:zurb/foundation
Merge pull request #2247 from shikolay/master

Micro cleanups
fixed conflict
Merge branch 'master' of github.com:zurb/foundation