-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
idGeneration is MONGO #12
Comments
Would you be open for a pull request for this? And do you object of adding underscore as a dependency? |
I'm in the habit of using mongo style ids because On underscore, I'd prefer to keep deps to a minimum, and given that I'm using CoffeeScript, many (but certainly not all) uses of underscore have an equivalent idiom in CS. |
I have not done anything yet. So if you would like to do it quickly, this would be awesome. :-) |
I am also using CoffeeScript in my project (https://github.com/peerlibrary/peerlibrary), but underscore still has a place. For example, this line could be written as |
Actually its a bit more work than my initial guess because I have tons of method On underscore... true, but I've been burned by some incredibly stupid shit in underscore: jashkenas/underscore#1590 (comment) |
Yes, you will probably have to create few helper methods and then replace code with them everywhere.
:-) |
It's getting late, I'll do this in the morning. |
Implemented in the branch: https://github.com/vsivsi/meteor-job-collection/tree/new-jc-options |
Great! Thanks! :-) |
FYI, This has been merged into the master branch. I intend to publish a new version to Atmosphere later this evening. |
Thanks! |
Feature released in v0.0.14. |
Is there a reason why
idGeneration
has to be MONGO? I use random strings everywhere and would like to use it for this collection as well. Could this be part of options?The text was updated successfully, but these errors were encountered: