Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is "i" after a "/", a space is added #413

Open
photopea opened this issue May 30, 2020 · 0 comments
Open

If there is "i" after a "/", a space is added #413

photopea opened this issue May 30, 2020 · 0 comments

Comments

@photopea
Copy link

photopea commented May 30, 2020

I use escodegen to minify Javascript:

var sprm = { format: { compact:true, renumber:true, quotes:"double", 
                       semicolons:false, parentheses:false }};
var nstr = escodegen.generate(obj, sprm);

When there is a division by a variable, and the variable starts with "i", a space is added in between.

From this code:

var i=1,j=2,x=5/i,y=4/j;

You get this code:

var i=1,j=2,x=5/ i,y=4/j
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant