-
Notifications
You must be signed in to change notification settings - Fork 876
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
Cannot set property 'Rellax' of undefined. #22
Comments
How are you integrating the library (npm, basic download)?? |
I just copied the raw code and put it in a new file in my project. |
Make sure you're referencing that new file before you call Rellax.
Let me know if this works |
Okay. Currently my build system takes all the JS and puts it together in one file... do you think that might be causing the problem? |
Yea that seems like a possible culprit. Make sure that you include your custom javascript the part where you wrote |
@btn0s Did that end up working? |
Hey sorry been really busy, yeah that fixed it. :) |
I'm getting this error coming from this line.
https://github.com/dixonandmoe/rellax/blob/master/rellax.js#L23
Am I doing something wrong or is this common?
The text was updated successfully, but these errors were encountered: