Andrew Petersen kirbysayshi

View index.js
1 2 3 4 5 6 7 8 9 10
require('tap-browser-color')();
var test = require('tape');
 
test('rAF Timestamp?', function(t) {
t.plan(1);
// Schedule this test to run hopefully once things are loaded
setTimeout(function() {
requestAnimationFrame(function(ts) {
var now = performance.now();
View index.js
1 2 3 4 5 6 7 8 9
require('tap-browser-color')();
var test = require('tape');
 
var vashpico = (function(){
 
var reExp = /(@)(!)?(it\.)?([a-zA-Z_0-9$]+\.?[a-zA-Z_0-9$]+)+/g
, htmlChars = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#x27;", "`": "&#x60;" }
, htmlReplacer = function(m){ return htmlChars[m]; }
, reHtml = /[&<>"'`]/g
View index.js
1 2 3 4 5 6 7 8 9 10
require('tap-browser-color')();
var test = require('tape');
 
test('Is X-Wing?', function(t) {
t.ok('WAP WAP WAP', 'Yep, it\'s a X-Wing');
t.end();
});
 
test('Is TIE Fighter?', function(t) {
setTimeout(function() {
View index.js
1 2 3
var semver = require('semver')
 
console.log(semver.satisfies('0.3.0-beta1', '^0.3.0'))
View index.js
1 2 3 4 5 6 7 8 9 10
var Shuffle = require('shuffle');
 
var deckConfig = {
'Knight': {
description: "Move the robber, and steal a card from whomever borders the new robber location.",
count: 14
},
'Progress - Year of Plenty': {
View index.js
1 2 3 4 5 6 7 8 9
var semver = require('semver');
 
var version = '0.3.1+jquery-2.1.0';
 
console.log(semver.valid(version))
console.log(semver.inc(version, 'prerelease'))
console.log(semver.inc(version, 'patch'))
console.log(semver.inc(version, 'minor'))
console.log(semver.inc(version, 'major'))
View boid.js
1 2 3 4 5 6 7 8 9 10
/**
* A verlet integration circle, a simple physics entity.
*/
 
function Boid(x, y, radius) {
this.cpos = { x: x, y: y }
this.ppos = { x: x, y: y }
this.acel = { x: 0, y: 0 }
this.radius = radius;
}
View index.js
1 2 3 4 5 6 7 8 9 10
var Shuffle = require('shuffle');
 
var deckConfig = {
'Knight': {
description: "Move the robber, and steal a card from whomever borders the new robber location.",
count: 14
},
'Progress - Year of Plenty': {
View lib_game_entities.js
1 2 3 4 5 6 7 8 9
ig.module(
'game.entities.square'
)
.requires(
'impact.entity'
)
.defines(function(){
 
EntitySquare = ig.Entity.extend({
Something went wrong with that request. Please try again.