Jump to content
Search Community

weenieHutCEO

Members
  • Posts

    2
  • Joined

  • Last visited

weenieHutCEO's Achievements

3

Reputation

  1. I figured it out. After I removed my aliasas from my webpack file they were no longer being made global via the webpackExposeLoader. tl;dr window.ScrollToPlugin = ScrollToPlugin fixed it.
  2. import TweenMax from 'gsap/TweenMax'; import TimelineLite from 'gsap/TimelineLite'; TweenMax.to($('.grid'),.5,{scrollTo:{y:400}}) Object { vars: {…}, _totalDuration: 0.5, _duration: 0.5, _delay: 0, _timeScale: 1, _active: false, data: undefined, _reversed: false, _startTime: 371.089, _timeline: {…}, … } [Show/hide message details.] TypeError: Value can't be converted to a dictionary. TweenLite.js:101 Github repo with all my code if you want to try and follow along, https://github.com/maxcr/testing123 When I type the first command into the console it doesn't work. Used to work perfectly before I upgrade to 2.0.2 is there a breaking change I am unaware of to the ScrollToPlugin? I also should have mentioned this a dugway project to create a BigCartel store for a client. So you'll need this installed https://github.com/bigcartel/dugway Create a fresh dugway project. Clone my project within the dugway project. cd into dugway project and run `dugway server`, then in another terminal cd into source folder and run `npm run watchProd`
×
×
  • Create New...