Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have 18k javascript file I want to obfuscate/obscure and minify for performance and security.

I've tried using this tool http://www.minifyjs.com/javascript-obfuscator/ but when tried to load my map afterwards , the map div didnt even init itself (basic OSM map)

which tool is best for such task ?

thanks

share|improve this question
1  
Minify'ing for performance is a good reason, but it is not a valid security measure. People can un-minify it too... – DavidF Jan 7 at 20:05
ok , still... its wierd but even when I only minify my JS file , the code stops working. doesn't make sense. – Alophind Jan 7 at 20:07
I've found out that I had some ";" missing at end of rows . Ill fix that and see if it solves the problem. – Alophind Jan 7 at 20:12
Question can be closed . making sure I have ";" at end of each row solved problem. – Alophind Jan 7 at 20:20

closed as too localized by Mapperz Jan 7 at 21:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.