Jump to content
Search Community

jQuery version Dependancy and non es6

dogdigital test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

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 comment
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 comment
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.
×
×
  • Create New...