Jump to content

A Question about Licensing


notjesseolsson
 Share

Recommended Posts

I am thinking about creating a minified version of my project with the closure compiler (http://closure-compiler.appspot.com/home). This compiler would remove a lot of the unused babylon.js code. I don't know very much about open source licensing, is there a way to do this legally? Would I have to put a license somewhere?

 

Oh, and also would this be possible with jQuery?

Link to comment
Share on other sites

Disclaimer: I am not a lawyer. Nor am I associated with Babylon.js.

 

That out of the way, I strongly recommend you read through this stack overflow question about almost exactly what you're asking about: http://programmers.stackexchange.com/questions/251375/combining-3rd-party-javascript-libraries-with-my-code-then-using-closure-compil

 

The tl;dr of it is basically, closure has some mechanisms for complying with the licenses of other libraries, like @preserve. You will want to use them to be compliant. On the other hand, it may be better to simply use babylon.js through a CDN. I don't know if it's available through any official CDN, but I highly recommend using RawGit's CDN mechanism (the production url on that page) and simply linking to the babylon.js source. It will provide more benefit than running babylon through closure, I'll bet.

Link to comment
Share on other sites

Not a lawyer either, but even inside the code base there is a procedure for making a custom build, see.  https://github.com/BabylonJS/Babylon.js/tree/master/Tools/BuildOurOwnBabylonJS.  This is visual studio dependent.  I can also think of a way to do it with the gulp build process.  Just comment out lines in gulpfile.js, such that it still builds, then test that your app still runs.

 

As far as doing it externally to a build process, you are most likely on your own, as far as support from here goes.  I would also not follow advise given here about JQuery, if it was given.  I assume they have their own forum.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...