Quick Templating in Javascript
Ever wanted to do some quick and simple templating in javascript without having to use a templating library. Here’s a little snippet that will help you out: I find it […]
Ever wanted to do some quick and simple templating in javascript without having to use a templating library. Here’s a little snippet that will help you out: I find it […]
A common question people ask me is how to delete items from an array in javascript. Reason being, javascript arrays dont have a function named delete. The function you’re looking […]
When making javascript games, you’ll need a way to handle input from the user (whether its from the keypad, mouse, or controller). You can currently do this by responding to […]
I was frustrated that the TypeScript plugin was only available for VS2012. I love TypeScript’s syntax and typesafety. I tried using SharpDevelop to make a TypeScript app but its error […]
offsetX and offsetY are used to get the position relative to an element of a mouse event. This works in Chrome and a few other browsers, but not in firefox. […]