Skip to content

Instantly share code, notes, and snippets.

Joey Hoer joeyhoer

Block or report user

Report or block joeyhoer

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
@joeyhoer
joeyhoer / gruntfile.js
Last active Aug 29, 2015
Browser Sync Gruntfile
View gruntfile.js
module.exports = function(grunt) {
grunt.initConfig({
// Project Configuration
pkg: grunt.file.readJSON("package.json"),
sass: {
dist: {
options: {
style: 'compressed',
@joeyhoer
joeyhoer / gist:5499908
Created May 2, 2013
Load either Zepto or jQuery, as necessary, from a CDN with a local fallback. For use with ZURB Foundation 4.
View gist:5499908
<script>
document.write('<script src=//cdnjs.cloudflare.com/ajax/libs/' +
('__proto__' in {} ?
'zepto/1.0/zepto.min' :
'jquery/1.9.1/jquery.min')
+ '.js><\/script>')
</script>
<script>window.$ || document.write('<script src=/js/vendor/' +
('__proto__' in {} ? 'zepto' : 'jquery')
+ '.js><\/script>')
You can’t perform that action at this time.