Share Posted January 24, 2017 Hello, I'm new with greensock and rails. I found this demo very fascinating so I want to add it to my project.Then Firstly, I added the .html.erb file.Then added css to .scss file Then added js to .js fileadded gem to gemfileadded require require/Tweenmax to js require tree But the web page did't show any animation Can anybody know how to figure it out? Thanks a lot. See the Pen yhEmn by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Share Posted January 25, 2017 Welcome to the forums. You already got your question answered via twitter, right?: https://twitter.com/HuilingLiu1203/status/823870418809298945 I'm completely unfamiliar with Rails, so I probably can't be much help. Let us know if you need anything else. Link to comment Share on other sites More sharing options...
Author Share Posted January 25, 2017 Yes, I got a very nice guy helped me via twitter, but it still can't work.Can you explain me how should I use the following dependencies?  Appreciate your help! Link to comment Share on other sites More sharing options...
Share Posted January 25, 2017 I'm totally unfamiliar with Rails, so I won't be much help. Those "dependencies" are just JavaScript files that need to be loaded on the page for it to work, but please note that several of them (ScrambleTextPlugin, SplitText, and Physics2DPlugin) are members-only plugins that come with Club GreenSock. See http://greensock.com/club/. Link to comment Share on other sites More sharing options...
Author Share Posted January 25, 2017 Thank you! And 1 thing I want to make sure is: Does this demo See the Pen yhEmn by GreenSock (@GreenSock) on CodePen run well in rails? Link to comment Share on other sites More sharing options...
Share Posted January 25, 2017 I have no idea how to answer that. I thought Rails was a server-side language. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now