javascript - Source code lost. Minified file available. How to unminify the file. -


i have javascript file in minified version. have lost original source code. how can recover source code minified version? variable names appearing _1, _2 etc. there way through can change variable names meaningful.

minification must have minified script, if variable names have been changed means used kind of uglifier. there several online tools available http://jsbeautifier.org/ that'd unminify code, uglification can not undone, you've rename variables manually.

protip: use version control system git keep revisions/history , take backups don't loose source code in future.

i understand strange issues occur, hope resolve them. luck!


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -