ezekielaquino / Marquee3000

Marquees for the new millenium
https://ezekielaquino.com/2019/marquee
MIT License
440 stars 81 forks source link

Incorrect custom selector syntax in documentation #27

Open Cam opened 4 years ago

Cam commented 4 years ago

In the documentation you have the following as an example for the custom selector. However the package adds the . for the classname itself.

Marquee3k.init({
    selector: '.selector-name', // define a custom classname
});

Arguably the package could be changed to allow for both classes and IDs by removing the .. Changing the documentation to the following would be a good start.

Marquee3k.init({
    selector: 'selector-name', // define a custom classname without the '.'
});
ezekielaquino commented 4 years ago

Thanks for the report @Cam – will have a look at this to accommodate