diff options
author | jiteshjha | 2016-06-30 16:06:10 +0530 |
---|---|---|
committer | jiteshjha | 2016-06-30 16:06:10 +0530 |
commit | 84195355015154f1dd63a0e3cd612e935075628b (patch) | |
tree | 1d435a2b39e2a3a3ad9ca374bcbfae023533bd01 /dependencies.js | |
parent | 981429df495c0b30b4a0a3cfc4cdaf3d096b834b (diff) | |
download | xcos-on-web-84195355015154f1dd63a0e3cd612e935075628b.tar.gz xcos-on-web-84195355015154f1dd63a0e3cd612e935075628b.tar.bz2 xcos-on-web-84195355015154f1dd63a0e3cd612e935075628b.zip |
Code refactoring
Diffstat (limited to 'dependencies.js')
-rw-r--r-- | dependencies.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/dependencies.js b/dependencies.js index c7ba39a..028a8e5 100644 --- a/dependencies.js +++ b/dependencies.js @@ -3,14 +3,16 @@ $.getScript('math.js'); $.ajax({ type: "POST", - // Invoke getFilename.php - url: "getFilename.php", + // Invoke filenames.php + url: "filenames.php", // Receive the resultant filenames from the php script in JSON format dataType: "json", - // add url for the required folder - data:{ url: "/data_structures_correct/"}, + // Add url for the required folder + data: { + url: "/data_structures_correct/" + }, success: function (data) { /* |