Skip to content

Commit

Permalink
some additions to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
booo committed Sep 9, 2011
1 parent a0a93f5 commit 5707ad2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -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`

0 comments on commit 5707ad2

Please sign in to comment.