Skip to content
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

Uncaught ReferenceError: lastScrolledDestiny is not defined #98

Open
adamjw3 opened this issue Aug 22, 2017 · 2 comments
Open

Uncaught ReferenceError: lastScrolledDestiny is not defined #98

adamjw3 opened this issue Aug 22, 2017 · 2 comments

Comments

@adamjw3
Copy link

@adamjw3 adamjw3 commented Aug 22, 2017

Getting the above error in chrome.

i'm using browserfy to bundle my js so in my packages.json i have the following

"browser": {

"jquery.easings": "./src/libs/jquery.easings.min.js",
"multiscroll": "./src/libs/jquery.multiscroll.js"

},

Then in my js i'm doing

`import "jquery.easings";
import "multiscroll";

var Home =
{
"Init": function () {
$("#multiscroll").multiscroll();
},
};

module.exports = Home;`

any idea why this error is showing? seems to function fine even with it. thanks

Just to add to this, this error is stopping the navigation active class being removed and applied to the current slide.

@corey01

This comment has been minimized.

Copy link

@corey01 corey01 commented Oct 11, 2017

I encountered this problem, the solution for me was to require the NPM library, instead of just importing the jquery.multiscroll.min.js from my vendor scripts folder.

@alvarotrigo

This comment has been minimized.

Copy link
Owner

@alvarotrigo alvarotrigo commented Oct 16, 2017

Can you please provide a link with an isolated reproduction of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.