From 5707ad2ad0febf8ce1ba5d69632d09b014cb4cdd Mon Sep 17 00:00:00 2001 From: booo Date: Fri, 9 Sep 2011 17:04:43 +0200 Subject: [PATCH] some additions to the README --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0df674b..91bcbd2 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,10 @@ Thanks to all giants I stand on. Checkout the git submodule. Run `build.sh` to build the package. ##Testing -Run `run-test.s` to run a simple test. Make sure to install jsdom via `npm`. +Run `run-test.js` to run a simple test. Make sure to install jsdom via `npm`. ##Using -Just use `npm link` to make the package available fo node. In your node project use `npm link openlayers` to install it local. Use `require("openlayers").OpenLayers` in your code. +Just use `npm link` to make the package available fo node. In your node project +use `npm link openlayers` to install it local. Use `require("openlayers").OpenLayers` in your code. +Or use the npm package via `Çıpm install openlayers`. Some functions only work +with a mocked dom. For an example on how to mock the hole dom see `run-test.js`