echo icon indicating copy to clipboard operation
echo copied to clipboard

default.init is not a function...

Open jesperlandberg opened this issue 9 years ago • 1 comments

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?

jesperlandberg avatar Oct 24 '16 07:10 jesperlandberg

If someone will be looking for the answer:

import echo from 'echo-js';

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

Greenek avatar Feb 23 '17 07:02 Greenek