From d46eba877fbc76ff79ed224aabbe1998b8dbd914 Mon Sep 17 00:00:00 2001 From: Pujan Joshi Date: Fri, 9 Oct 2015 15:33:54 -0400 Subject: [PATCH] function name change, services URL removed from function parameter. --- VQI_PathwayEditor.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index 7e52be3..3f5964e 100644 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -1,6 +1,9 @@ -var VQI_pathwayEditor = function(parent, services) { - +var VQI_PathwayEditor = function(parent) { + //Web services + var services = {}; + services['pathwayfinder'] = 'http://137.99.11.36/pathwayVisual/PathwayParser/ajaxJSON.php'; // Globals + var states = []; var stateRecycle = []; var lastEvent = 0; @@ -22,7 +25,7 @@ var VQI_pathwayEditor = function(parent, services) { // Outer Control Layout - var parentDiv = document.getElementById(parent); +// var parentDiv = document.getElementById(parent); var strVar = ""; strVar += " <\/input>"; @@ -919,4 +922,4 @@ var VQI_pathwayEditor = function(parent, services) { document.getElementById(parent + '-undo').addEventListener('click', undo); document.getElementById(parent + '-redo').addEventListener('click', redo); }); -} \ No newline at end of file +}; \ No newline at end of file