1569 posts
  • Became a Top 20 Author of the Month
  • Has been part of the Envato Community for over 7 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
+3 more
dSKY
says

I’m developing a backend app for WP that is basically a Backbone.js app with like 3-4k lines of code. My question is : “Am I allowed to concatenate and minify multiple js files that are used by the app? Also since it’s a Javascript app (basically no php except for registering the plugin and some ajax hooks for saving data) do I retain all the right for the code ( no gpl?) Thanks

1569 posts
  • Became a Top 20 Author of the Month
  • Has been part of the Envato Community for over 7 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
+3 more
dSKY
says

bump?

3 posts
  • Has been part of the Envato Community for over 1 year
  • Has sold $1,000+ on Envato Market
  • Located in Canada
  • Has collected 1+ items on Envato Market
+1 more
j4n-co
says

I’d also like to know the answer to this question.

1737 posts Building the Web.
  • Became a Top 20 Author of the Month
  • Had an item that was trending
  • Has been a beta tester for an Envato feature
  • Sells items exclusively on Envato Market
+9 more
ZoomIt
says

You are allowed as long you provide the dev version too. You can name and use your .min files.

158 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Sells items exclusively on Envato Market
+1 more
greenshady
says

Minifying your JS files is just good practice. I don’t see why you wouldn’t do it. You’d want to add both a minified and un-minified version of the files though. Just load the minified version.

As far as the license goes, are you going to distribute this code to anyone else? If not, you don’t need a license. Licenses are only really useful when distributing code. If you are distributing the code, then you’ll most likely need to put it under an open-source license. But, that depends on whether it would be considered a derivative work under copyright law.

In general, you’ll want to study the license of any scripts you’re building off of or interacting with and make a licensing decision based on what’s legally allowed according to the licenses of those scripts. If you’re building off Backbone.js, you’ll want to look at its license. If you’re building off some JavaScript in WordPress, you’ll want to look at its license.

1569 posts
  • Became a Top 20 Author of the Month
  • Has been part of the Envato Community for over 7 years
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
+3 more
dSKY
says

You are allowed as long you provide the dev version too. You can name and use your .min files.
Am I obligated to provide “dev” version of Javascript code?
394 posts
  • Became a Top 20 Author of the Month
  • Power Elite Author: Sold more than $1M on Envato Market
  • Has sold $1M+ on Envato Market and is now a Power Elite Author
  • Had an item that was trending
+7 more
pixelgrade
says

I prefer not to minimize thongs and leave it up to the buyer to use a caching plugin or some server side wizardry.

by
by
by
by
by
by