finnursig/VideoScroller

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Closed this issue · 5 comments

Receiving this error when adding VideoScroller.js and EasingFunctions.js to my page head "Block-scoped declarations (let, const, function, class) not yet supported outside strict mode".

Documentation says videoscroller has no dependencies on any other files so I assume i'm not missing any files and it does not state a need for an strict mode settings in the installation and usage instructions.

Ok I think I know whats going on. The SRC is different than the distributed code. the minified version is not based on the unminifed source.

Hey, sorry for slow response.

All the source code is being run through babel so it does not use ES6 features in the distributed files.

Did you get it working ?

I did. I unminifed the final js and was able to work on that. I might
suggest updating the onscroll listen to watch for keyframes as its firing
its functions far more than it needs too causing the FPS to dip below 30.

On Thu, Sep 17, 2015 at 9:53 AM, Finnur Sigurðsson <notifications@github.com

wrote:

Hey, sorry for slow response.

All the source code is being run through babel so it does not use ES6
features in the distributed files.

Did you get it working ?


Reply to this email directly or view it on GitHub
#1 (comment)
.


Sean Anteau

Front End Developer

seana@griffintechnology.com

419-262-0470

Griffin Technology

2030 Lindell Ave., Nashville, TN 37203 USA

This message and any attachments should be treated as confidential
information of Griffin Technology, Inc.

Great, ill look into limiting the scroll event for future releases.

Thanks.