Skip to content

Commit

Permalink
function name change, services URL removed from function parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pujan Joshi committed Oct 9, 2015
1 parent 3855fbd commit d46eba8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions VQI_PathwayEditor.js
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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 id=\"" + parent + "-file\" value=\"Pick File\" type=\"file\"><\/input>";
Expand Down Expand Up @@ -919,4 +922,4 @@ var VQI_pathwayEditor = function(parent, services) {
document.getElementById(parent + '-undo').addEventListener('click', undo);
document.getElementById(parent + '-redo').addEventListener('click', redo);
});
}
};

0 comments on commit d46eba8

Please sign in to comment.