text: $(document).ready(function(){function t(){f=Math.floor(Math.random()*(r-c+1))+c}function e(t){var e=t.filter(function(t){return t.ID===f});a=e[0].Quote,u=e[0].Author,$("#quote-text").html(a),$("#quote-author").html("—"+u)}function o(){function e(t){var e=t.filter(function(t){return t.ID===f});a=e[0].Quote,u=e[0].Author,$("#quote-content").fadeOut("slow",function(){$("#quote-text").html(a),$("#quote-author").html("—"+u),$("#quote-content").fadeIn("slow")})}t(),console.log(f),$.getJSON(i,e)}function n(){var t=a,e="—"+u,o="quote%2Clife",n="Selrond%3ACreator%20of%20the%20Quote%20Machine",r="https://twitter.com/intent/tweet?text="+t+"%0a"+e+"%0a&hashtags="+o+"&related="+n;window.open(r,"_blank")}var a="",u="",r=10,c=1,f=0,i="https://gist.githubusercontent.com/selrond/fcfee82f158c80048fab95a23c7cf180/raw/5773a9b63e6f00b5540158822a472f8118a7248a/quote-machine.js";t(),$.getJSON(i,e),$("#generate").on("click",o),$(".fa-twitter").on("click",n)});