Jump to content

JSKompactor issue


Nico
 Share

Recommended Posts

Hi guys,
I think there is problem with current version of JSKompactor, I am trying to build minified version using BuildOurOwnBabylonJS, and when variable name start with "_" JSKompactor delete the space between "var" and "_", for example :

var _this = this; //Before JSKompactorvar_this = this; //After JSKompactor

@Deltakosh:

I can't find the source code of JSKompactor so I can't check where is the problem, I think you forgot a special case while using a regex, or something like that. Is there possible to make this code available, so if something like that happen again anybody can try to find a solution and make a pull request ;)

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...