1549 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
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

1549 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
dSKY says

bump?

3 posts
  • Bought between 1 and 9 items
  • Canada
  • Exclusive Author
  • Has been a member for 0-1 years
  • Sold between 100 and 1 000 dollars
j4n-co says

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

1601 posts Building the Web.
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Exclusive Author
  • Author had a File in an Envato Bundle
  • Most Wanted Bounty Winner
  • Bought between 50 and 99 items
  • Has been a member for 4-5 years
+2 more
ZoomIt says

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

158 posts
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 1 000 and 5 000 dollars
  • United States
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.

1549 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
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?
367 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Most Wanted Bounty Winner
  • Europe
  • Referred between 50 and 99 users
  • Exclusive Author
  • Bought between 10 and 49 items
+1 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