javascript

Jul
10

Introducing Captain Botbeard - A Swashbuckling Twitter Bot

@glcheetham Learnin' without thought be labor lost; thought without learnin' be perilous - Confucius— Captain Botbeard (@CaptainBotBeard) 5 July 2016
1 min read
May
30

Comparing Objects in Chai Doesn't Work as Expected?

Here's the gotcha of all gotchas. If you compare two objects in Chai with .equal, you're not going to get
May
20

Killing Switch Statements in React with the Strategy Pattern

I saw this article about building multi-step forms in React recently - and although it's a very well-written and organised
2 min read
Apr
25

Compile TypeScript and Package with Browserify in a Single Gulp Task

OK - the topic of packaging your js with browserify using Gulp has been done to death. However, integrating TypeScript
1 min read
Apr
06

How to Get Syntax Highlighting for TypeScript in GVIM on Windows

urghh... Looks terrible doesn't it? It's not provided by default, but if you need to work with a TypeScript project
1 min read
Mar
20

News Flash! You Don't Need node-jasmine to Test node.js Apps with Jasmine

When setting up my test suite for Heroes Of Deep Space, I was tempted to use the previously helpful node-jasmine
1 min read
Mar
18

How Do I Organise Files in A Phaser.js Project?

Among newer JavaScript developers, the manner and order in which JavaScript code is executed is often a source of confusion.
5 min read