this is the url:
http://maps.gstatic.com/cat_js/intl/zh-CN_ALL/mapfiles/208a/maps2.api/%7Bmod_drag,mod_ctrapi%7D.js
and i want to read it for study ..
thanks
this is the url:
http://maps.gstatic.com/cat_js/intl/zh-CN_ALL/mapfiles/208a/maps2.api/%7Bmod_drag,mod_ctrapi%7D.js
and i want to read it for study ..
thanks
I don't think the authors of that file want you to be able to read it for study...
Ask for the code.
Go to the site and find out who runs/develops it then send him/her an email politely asking for the non obfuscated code.
I think the js file has been minified... You can't get what it says from a minified one...
Minified code like this one has shortened variable names. The original, useful, variable names and all of the JS comments are gone from this version of the JS.
There are plenty of code-beautifiers which will indent code for you (IIRC Dreamweaver has one but I don't remember offhand if it understands JavaScript) but indentation alone will not be enough to make the code of any value to read.
You can use a javascript beautifier tool such as this one to format the code, which makes it much easier to read.