Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
dogdigital

jQuery version Dependancy and non es6

Recommended Posts

Hi,

 

getting an error Uncaught ReferenceError: Timelinelite is not defined. 

 

Timelinelite is being grouped together in one concatenated file, it is an old project that isn't using modules or bundling using require and it seems like it is not being added to or accessible on the window for some reason.

 

I was wondering if it was a jQuery comparability issue? or something to do with the recent update to accommodate es6 imports?  What is the minimum jQuery version required?

 

many thanks,

 

 

Link to post
Share on other sites

GSAP doesn't use jQuery, and it doesn't need to be imported, bundled, transpiled, or any other build process. It's just a regular JavaScript file that works out of the box. But since you brought up jQuery, maybe that's the problem. You said it was an old file, and there have been a lot of breaking changes between v1, v2, and v3.

 

Can you post the files, and we can take a look?

 

  • Like 4
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×