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 seriesData = [ [{ x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 17 }, { x: 3, y: 42 }] ]; | |
var graph = new Rickshaw.Graph( { | |
element: document.getElementById("chart"), | |
width: 940, | |
height: 250, | |
renderer: 'area', | |
stroke: true, | |
series: [ | |
{ | |
color: 'steelblue', |
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
$params = $this->getParams(); | |
$binary_hash = hash_hmac('sha1', $params, $this->secretKey, true); | |
$base64_hash = base64_encode($binary_hash); | |
$ch = curl_init(); | |
curl_setopt_array($ch, array( | |
CURLOPT_URL => $this->apiUrl . $params, | |
CURLOPT_HTTPHEADER => Array('Authorization: ' . $base64_hash), | |
CURLOPT_RETURNTRANSFER => true, |
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
if( /web/i.test(DEVICE) === true && top != self){ | |
var threshold = 768; | |
if (window.screen.width < threshold) { | |
top.location.replace("https://sytycd.fox.com/?app=web"); | |
} | |
} |