Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct gsap module references #662

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

lvl99
Copy link

@lvl99 lvl99 commented Mar 13, 2017

I have been having troubles getting ScrollMagic to work correctly as an ES6 module.

I use browserify for my build and subsequently have had to use browserify-shim for some extra bits (which was .

To lessen the usage of browserify-shim, I renamed the gsap modules to use the current gsap module convention, e.g. gsap/nameOfModule.

I found that I still have to rely on browserify-shim to alias and inject dependencies. This seemed to work (I had to modify gsap as well to get the jquery.gsap plugin to work too... them's the breaks trying to use old-style jQuery plugins with ES6 modules!).

janpaepke and others added 3 commits April 10, 2016 16:57
adds compatibility for fiddles etc. linking to old urls on ghpages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants