-
Notifications
You must be signed in to change notification settings - Fork 30
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
ReferenceError: _ is not defined with coffescript #7
Comments
Hmm, it might actually be that I haven't defined |
yep, that seemed to fix it! i thought underscore was included by default with meteor bootstrapping... |
do you want me to make a PR? as i'm sure you know just replacing this: Package.describe({
summary: 'Collection helpers'
});
Package.on_use(function(api) {
api.use(['underscore']);
api.add_files('collection-helpers.js', ['client', 'server']);
}); |
Thanks @dcsan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've created a package which uses the collection-helpers package, but i'm getting some very indecipherable errors.
error is around _ not being defined inside collection-helpers*
I tried adding underscore even to my own package:
I'm guessing this maybe something coffeescript related :(
following this issue
http://stackoverflow.com/questions/23281235/coffeescript-namespace-exports-in-meteor-custom-packages
I also tried using a separate globals.js
this is with meteor 0.8.1.1
have collection-helpers succesfully been used in other packages?
i guess the next thing is to rewrite everything in vanilla .js >.<
The text was updated successfully, but these errors were encountered: