Archive for the “javascript” category

Automating Fixture Instantiation in Mocha using Async

by Jason on January 31, 2012

My latest Node.JS project has been entirely test-driven and I always strive to write very simple & concise tests. Convoluted code in a test will be far less likely to be maintained. So when test driving my latest model, I (…)

Read the rest of this entry »

Setting RailwayJS Environment

by Jason on December 9, 2011

Recently I’ve been working with RailwayJS and integrating Mocha for testing. However, I wasn’t able to figure out how to explicitly set the environment. As such, it was always defaulting to “development” which is not ideal. For those wondering, you (…)

Read the rest of this entry »

Updated jQuery Form Field Default Value Plugin

by Jason on May 27, 2011

Hi everyone, I finally got around to updating my jQuery plugin. I’ve cleaned up the code a bit and also ensured full compatibility with jQuery 1.6. A few new features: Option for property-based default value Now, if you choose, you (…)

Read the rest of this entry »

MooFlow Firefox Uncaught Exception Fix

by Jason on March 23, 2009

I am using MooFlow for a project at work and it is absolutely fantastic. Nothing else gives the ease of use and nice look like MooFlow. However, it kept throwing an uncaught exception in Firefox: Error: uncaught exception: [Exception… “Component (…)

Read the rest of this entry »