Jump to content
Search Community

MorphSVG so cool but...

Mehdi 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 everyone !

 

Fresh student from France, I just purchased the shockingly green license, and I'm so excited with GSAP and all of those crazy cool plugins.

 

But, and yes there is a but, I'm currently working on my portfolio (school project) and I'm playing with the morphSVG plugin (damn it's so cool...) but then I will host it on gh-pages, and my morphSVG plugin will be in my folder (so everyone will see it) How can I do in order to respect GSAP work without like sharing a code that is available only for the shockingly green and above members ?

 

Love y'all

Link to comment
Share on other sites

Hi and welcome to the GreenSock forums.

 

Thanks for purchasing the club membership and glad to hear that you're enjoying the GSAP.

 

Unfortunately, this is the way things go with JS. Since it has to be read by the client there's no other way to go.

 

One alternative is to join every file together, including your particular code and put all the comments at the top, like that if anyone tries to use that, they won't know precisely where to look for in order to isolate the specific plugin. Other than that there's not much that can be done in order to secure the files.

 

Carl and Jack are strong believers of the honor system, respect and appreciation from the developers community (guys like you for example), that value the great job they do and buy the club membership in order to gain access to the premium tools.

 

Happy Tweening!!

  • Like 2
Link to comment
Share on other sites

Hey Rodrigo,

 

Thank you a lot for that answer, I think I found a way, is to use the gulp task manager to concat all of my js files into and then minify this file, it will create a really big/messy file ^^

  • Like 1
Link to comment
Share on other sites

Yep, like Rodrigo said, we totally appreciate folks like you who care enough to try to protect the members-only files but we also realize that this is the web and anybody can view JS so it's not realistic to expect to be able to fully protect things. Our whole business model relies on trusting our users and that most people will do the right thing when given the option. Sure, some people will rip off the plugins but we're not interested in spending lots of resources chasing them down, implementing complex strategies to stop them, etc. We'd rather just keep working on the tools and serving our customers as best we can, trusting that the respect we extend to people will ultimately be reciprocated. Thus far, it's working out pretty well (thanks to people like you). 

 

Happy tweening!

  • Like 1
Link to comment
Share on other sites

Oh, and just to be clear, please don't include any of the members-only plugins in a github project that's listed as an open source project because obviously that'd make it way too easy for folks to get the plugin for free and maybe even misunderstand the license (like if it's in an open-source MIT-licensed github project, plenty of people would just assume that means MorphSVGPlugin is also free and MIT-licensed which it's not). Fair enough? 

Link to comment
Share on other sites

Yep, I'm going to put the repo in private even though I'm going to put it live on github pages atleast the only that they will be able to see the minified code will be in the inspector tool since the repo will be private. Thanks Jack

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...