ericmatthys/spaces — pull request #1 by dfellis (2012-03-23 19:48:03+00:00)
Title: Fix 'use strict' issue and get it working in Node.js

Hi Eric,

This is ``ISV_Damocles`` from reddit. I forked your project and got it working under ``'use strict';`` mode (which is good to have enabled so you're sure you're future proof as deprecated features of Javascript are removed in future browsers).

I also added three lines of code to get it working as a Node.js/CommonJS module, along with a simple test to demonstrate it, and I added a ``package.json`` file in case you want to publish the library on [NPM](http://npmjs.org).

I leave all of that up to you.

David