Optimization

Hello,
The addon lecjoa is built , with variables, explicit names;
And many comments.

to improve its speed, I will remove the empty spaces, I will remove the comments and change the variable names

what is the best way to have two versions. a development version, and a version of Use

cordially

Hello,
I started to cut into small pieces js code.
To make several js codes, we can call, with different applications.
I put the code on github:

I no longer offer my codes because Lecjoa is stuck on an older version does not work on Firefox 48. For lack of validation.

Once validated, I will propose the latest versions, which have much advanced.

About optimization.
I will change all variable names.
The explanation will not be in the code.
The explanations will be in text files, provided outside the code files
cordially

Removing comments and changing variable names won’t make any significant difference in the performance of the add-on (unless it’s gigantic, in which case I would suggest just using a code minifier).

As for maintaining a personal fork, I suggest you at least change the add-on ID so it counts as a different add-on.

If "Removing comments and changing variable names won’t make any significant difference in the performance of the add-on " I have no reason to do it.

By cons to cut js files, by function, brings two things.
The first thing is: it avoids repeatedly write the same part of code in several js files
The second allows me to comment on the usefulness of each js file. So the code is better understood
And these js files can serve as an example and be used in other codes.