Changes between Version 5 and Version 6 of JavascriptDebugging


Ignore:
Timestamp:
Jan 14, 2013, 10:07:27 PM (11 years ago)
Author:
Yves
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JavascriptDebugging

    v5 v6  
    100100
    101101
     102=== Getting a list of .js files ===
     103Returns all full Vfs paths ending with *.js loaded into the Vfs.
     104{{{
     105http://127.0.0.1:9000/EnumVfsJSFiles
     106}}}
     107
     108Returns (shortened)
     109{{{
     110["globalscripts/Math.js","globalscripts/Technologies.js","hwdetect/hwdetect.js","hwdetect/test.js","gui/aiconfig/aiconfig.js","gui/civinfo/civinfo.js"]
     111}}}
     112
     113=== Getting a file ===
     114Returns a whole file without any formatting (no JSON).
     115{{{
     116http://127.0.0.1:9000/GetFile?filename=globalscripts/Math.js
     117}}}
     118
     119Returns:
     120A File as plaintext.
     121
     122Arguments:
     123 * filename A full Vfs path to a file
     124
    102125{{{
    103126#!js