Diokuz / baron

Native scroll with custom scrollbar
MIT License
776 stars 124 forks source link

CSP issues because of eval #185

Open antelle opened 4 years ago

antelle commented 4 years ago

Hi! There's an eval usage, which is actually used not to evaluate code, but to get a global object reference. This doesn't allow using the library with unsafe-eval CSP policy without patches. Would it be possible to remove this eval?