From 84195355015154f1dd63a0e3cd612e935075628b Mon Sep 17 00:00:00 2001 From: jiteshjha Date: Thu, 30 Jun 2016 16:06:10 +0530 Subject: Code refactoring --- dependencies.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dependencies.js') 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) { /* -- cgit