Instantly share code, notes, and snippets.

View gist:6040917
var HERO = (function(self) {
function init() {
console.log('Hero exist!');
var _globals = {
name: 'hero',
source: 'hero.png',
width: 100,
View gist:6040887
var ATTACKS = (function (self) {
var moveList = {
slam: {
name: "Slam",
power: 20,
physical: true,
magic: false,
atkdelay: 400,
atkhold: 0,
special: null
View gist:5678079
var SLIDER = (function(self){
function __init(){
//run self init stuff here
// console.log(_globals.slides);
View gist:5677669
function gameSetup(){
var trueLove= []; //used for calculation of the percent
var flamesOne= [];//used for flames values you
var flamesTwo= [];//user for flame values partner
//first person
var $youFname = $("#you input.fname").val();
var $youLname = $("#you input.lname").val();
var $youName= $youFname.toLowerCase()+$youLname.toLowerCase();
var youArray = $youName.split("");
View gist:5677554
class GeneralDAL {
// Instance variable
private $con = null;
private $tableName = '';
function __construct($url,$userid,$password,$databaseName, $tableName) {