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
// Source code from - https://www.classtools.net/random-name-picker/ | |
// THE FUNCTIONS IN QUESTION | |
function spin() { | |
if(spinning==1){return} | |
spinning=1 | |
$("#wellDone").hide() | |
minTimeToSpin = 8; // 4 | |
timeRange = 2; // 3 |
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
"use strict"; | |
var restify = require('restify'); | |
var fs = require('fs'); | |
var request = require('request'); | |
var qs = require('qs'); | |
var GET_request = function (req, res, next) { | |
var options = { | |
url: process.env.XERO_REQUEST_URL, |