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