SteveSanderson/knockout — pull request #255 by mtscout6 (2012-01-04 18:35:51+00:00)
Title: Added a build for a NodeJs module. Also, added window and navigator to function wrapper.

I added a build for a NodeJs module. This is to facilitate browser-less unit testing through NodeJs. It simply creates a dummy dom structure and initializes knockout so tests can run. The dom structure is very empty, but the point is not to test the dom in browser-less unit testing.

In order to facilitate this I also added document and navigator to the function wrapper that is applied during the build. Similar to how document and undefined were being wrapped in.

Also contains NeonStalwarts pull request rebase onto master. See Pull request #206