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

default.init is not a function... #116

Open
jesperlandberg opened this issue Oct 24, 2016 · 1 comment
Open

default.init is not a function... #116

jesperlandberg opened this issue Oct 24, 2016 · 1 comment

Comments

@jesperlandberg
Copy link

jesperlandberg commented Oct 24, 2016

Hi,

I'm using browserify and this is giving me c.default.init is not a function error.

import echo from 'echo-js'

echo.init({
    offset: 100,
    throttle: 250,
    unload: false
})

Why is this?

@Greenek
Copy link

Greenek commented Feb 23, 2017

If someone will be looking for the answer:

import echo from 'echo-js';

echo(window).init({
  throttle: 250,
  offset: 1000,
  unload: true,
});

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

No branches or pull requests

2 participants