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
<head> | |
<link rel="stylesheet" type="text/css" href="assets/css/jquery.jscrollpane.css" /> | |
<link rel="stylesheet" type="text/css" href="assets/css/leaderboards.css" /> | |
<script type="text/javascript" src="assets/js/jscrollpane/jquery.mousewheel.js"></script> | |
<script type="text/javascript" src="assets/js/jscrollpane/jquery.jscrollpane.min.js"></script> | |
<script type="text/javascript" src="assets/js/leaderboards.js"></script> | |
</head> |
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
{ | |
"world":{ | |
"me":{ | |
"rank":2, | |
"fb_user_id":"fb_user_id", | |
"first_name":"First Name", | |
"last_name":"Last Name", | |
"points":1234 | |
}, | |
"entries":[ |
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
<?php | |
/** | |
* $Id$ | |
* | |
* Copyright (c) 2011, Donovan Schönknecht. All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* - Redistributions of source code must retain the above copyright notice, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> | |
<script type="text/javascript" src="js/jquery.validate.min.js"></script> | |
<script type="text/javascript" src="js/additional-methods.min.js"></script> | |
</head> | |
<body> | |
<form> |
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
<script> | |
if (typeof console === "undefined"){ | |
console={}; | |
console.log = function(){ | |
return; | |
} | |
} | |
</script> |
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
if (typeof console === "undefined"){ | |
console = {}; | |
console.log = function(){ | |
return; | |
} | |
} | |
Tracking = { | |
logAction : function(category, action, label) | |
{ |
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
-(BOOL)application:(UIApplication *)application | |
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
// start of your application:didFinishLaunchingWithOptions // ... | |
[TestFlight takeOff:@"43d0f4c7-bda6-4885-8f21-e6d1067279b9"]; | |
// The rest of your application:didFinishLaunchingWithOptions method// ... | |
} |
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
$(document).ready(function(){ | |
$('#sprite').css({backgroundPosition: 'center 0px'}); | |
$('#home').click(function(evt){ | |
var spriteVelocity = 500; | |
var mouseX = evt.pageX; | |
var spritePosition = $('#sprite').position(); | |
// What is the total distance our sprite has to travel? | |
var absoluteDistance = Math.abs(mouseX - spritePosition.left); |
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
<object id="cnhomesplash_fo" width="1150px" height="1100px" type="application/x-shockwave-flash" name="cnhomesplash_fo" data="/_/home/media/takeovers/CN_HALL_OF_GAME_TAEKOVER_1150x1100_V1_VOTE.swf"> | |
<param name="allowScriptAccess" value="always"> | |
<param name="allowFullScreen" value="false"> | |
<param name="scale" value="noscale"> | |
<param name="wmode" value="transparent"> | |
<!-- ^^^Change value from "transparent" to "opaque" --> | |
</object> |
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
<!-- Bind event listener after call to App.init() (line #627 of index.html) --> | |
<script> | |
$content = $('.content'); | |
$dialogStart = $('.dialog.start'); | |
$dialogCreateANewCrew = $('.dialog.create-a-new-crew'); | |
$dialogPickYourCrew = $('.dialog.pick-your-crew'); | |
$dialogPickFriend = $('.dialog.pick-friend'); | |
$dialogMeetYourCrew = $('.dialog.meet-your-crew'); |