This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
jQuery.Event.stop extension | |
=========================== | |
Simple shortcut to do: | |
$(document).on('click', 'a', function(e){ | |
return e.stop() | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ---------------------------------------------------------------------------------------------------- | |
SCSS Form Reset Helpers - Forked from: https://gist.github.com/anthonyshort/552543 | |
Intended usage: | |
- MIXINS: for very specific use cases, when you dont want to reset absolutly all the forms, very verbose output. | |
- PLACEHOLDER SELECTORS: use as extending classes. Less verbose, more generic overrides. | |
A couple of things to watch out for: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(){ | |
// Function to have a list of functions to load on fbAsyncInit | |
var toLoad = [] | |
window.fbReady = function(func){ | |
window.FB ? func.call(window) : toLoad.push(func) | |
} | |
window.fbAsyncInit = function() { | |
FB.init({ | |
appId: "#{FACEBOOK_API}", | |
status: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;(function(w,d){ | |
var rAF = w.requestAnimationFrame | |
|| w.mozRequestAnimationFrame | |
|| w.webkitRequestAnimationFrame | |
|| w.msRequestAnimationFrame | |
|| function(f){ f() } | |
var callbacks = [] | |
var pending = 0 | |
var hasOnload = 'onload' in d.createElement('link') |
NewerOlder