al6x / mongo-model

Model for MongoDB (Node.JS)
https://al6x.github.io/mongo-model
55 stars 3 forks source link

Installation without CoffeeScript #2

Closed alexyoung closed 12 years ago

alexyoung commented 12 years ago

I had trouble running this without CoffeeScript, and I couldn't quite figure out the API from the documentation.

al6x commented 12 years ago

Can You please specify the error more exactly?

I tried to run simple test without CS and it seems to work, maybe You have some special case, can You share the code please?

Or do You mean examples doesn't work without CS? I didn't provide compiled versions of examples, only sources. But now I also add the comiled versions of examples to repository, it should work now.

About the documentation, I'm working on API docs should be published in 1-2 weeks. Or, do You mean more use cases, and not just the bare API docs? Or maybe screencast?

alexyoung commented 12 years ago

I think you might have fixed the problem I was having.

A few days ago I installed 0.1.3, and there were only CoffeeScript files in lib so require('mongo-model') wouldn't even work. I just tried 0.2.1 and it worked as expected.