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 is required for this to work. | |
// based upon this stackoverflow answer: | |
// http://stackoverflow.com/a/13008597 | |
function getTransitionDuration( element, with_delay ) | |
{ | |
var el = $( element ); | |
var prefixes = 'moz webkit ms o khtml'.split( ' ' ); | |
var result = 0; | |
for ( var i = 0; i < prefixes.length; i++ ) |
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
#!/usr/bin/env node | |
// A BUILD SCRIPT WITH NODE.JS | |
// =========================== | |
// Most of the code is blatantly copied from this blog post by @millermedeiros: | |
// http://blog.millermedeiros.com/node-js-as-a-build-script | |
// NOTE | |
// This is a work in progress and I will likely add more functionality in the future. |
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
var jq = document.createElement('script'); | |
jq.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'; | |
jq.onload = snorpey_getPaths; | |
document.body.appendChild(jq); | |
var snorpey_paths = []; | |
var snorpey_index = 0; | |
var snorpey_player; | |
function snorpey_getPaths() |
NewerOlder