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

agentmaps.js un-minifying #8

Open
omi-akif opened this issue Mar 28, 2020 · 2 comments
Open

agentmaps.js un-minifying #8

omi-akif opened this issue Mar 28, 2020 · 2 comments

Comments

@omi-akif
Copy link

omi-akif commented Mar 28, 2020

I wanted to see the code of agentmaps.js un-minified to work on path finding algorithms. I am very new to javascript. Please overlook my ignorance. While I was working on unminifying, the beautifiers do not un-minify the strings of eval functions.

The minified file is very hard to read and understand. Can I know what tool did you use to minify the agentmaps.js file. And, is there any way I can unminify the agentmaps.js file?

I tried very hard to unminify it, but I cannot find any tool that properly beautifies the code with proper indentation.

@noncomputable
Copy link
Owner

noncomputable commented Mar 28, 2020

Hi Omi,

I used Webpack to bundle and minify AgentMaps. You might be able to debundle it, but I suggest editing the original source and then bundling your modified version, instead of trying to edit the published bundle directly.

@omi-akif
Copy link
Author

Thank you so much. I was able to generate the same agentmaps.js from the source using Webpack. It was really a great help. I can now work on the path-finding algorithms.

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

2 participants