Blog

Minifying Your JavaScript Code

One of the things that many people try their best to do when deploying their JavaScript code to production, is use a minified version of the code. By that, I mean, remove the unnecessary white-space, extra symbols, and shorten the names of variables. If you don’t have much JavaScript, you Read more…

By Chris West, ago
Blog

JavaScript – Binding To A Function

ECMAScript 5 has introduced the new Function.prototype.bind() function which not only gives you the ability to natively bind a primitive or object to a function and also curry data for the function. Unfortunately, up to this point, nobody has written an implementation of this function to make it work on Read more…

By Chris West, ago
Blog

Camel Case In JavaScript

Almost a month ago, I posted about creating a camel case function in VBScript. Now I think it is time to see a simple way to implement this function in JavaScript: Believe it or not, that is all the code you will need for the following to work: You will Read more…

By Chris West, ago
Blog

IE7 JavaScript Instruction Limit

Have you ever wondered why so many people hate Microsoft? For instance, people are always talking badly about the workarounds that you have to do in order to make things work in Internet Explorer. For me, when first starting developing web pages, all I knew was IE, therefore I felt Read more…

By Chris West, ago
Blog

Parsing A Name In JavaScript

Usually, when people first start dealing with user input, they have to parse information such as a person’s name. I know I have had to do this at some point in almost every language that I have programmed in. One of the best ways to go about parsing a full Read more…

By Chris West, ago