This file contains 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
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist | |
this is a gist |
This file contains 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
{ | |
"embeds": [ | |
], | |
"provider_url": "http://www.hulu.com/", | |
"description": "Video description: Station manager Arthur Carlson comes up with a big idea for a unique holiday promotion involving live turkeys and a helicopter.", | |
"original_url": "http://www.hulu.com/watch/322/wkrp-in-cincinnati-turkeys-away", | |
"url": "http://www.hulu.com/watch/322/wkrp-in-cincinnati-turkeys-away", | |
"images": [ | |
{ |
This file contains 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
.tooltip { | |
position: absolute; | |
text-align: center; | |
display: inline-block; | |
background: #FFF; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
-o-border-radius: 5px; | |
-ms-border-radius: 5px; | |
border-radius: 5px; |
This file contains 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 last_draw; | |
function draw(e) { | |
var this_draw = +(new Date()); | |
if(!last_draw || this_draw - last_draw > 20) { | |
last_draw = this_draw; | |
// window.reqAnimFrame is defined elsewhere to provide cross-browser | |
// requestAnimationFrame support with setTimeout fallback | |
window.reqAnimFrame(function() { | |
// draw logic |