Skip to content
Permalink
Browse files

minor changes.

  • Loading branch information
Pujan Joshi
Pujan Joshi committed Oct 14, 2015
1 parent ed0f792 commit c8a819326074e540098344ed9b351d4dab88c3d0
Showing with 12 additions and 11 deletions.
  1. +12 −10 VQI_GenomeBrowser.js
  2. +0 −1 VQI_GenomeBrowserDemo.html
@@ -1,6 +1,5 @@
function VQI_GenomeBrowser(id) {
var resourceFolder = 'js/modules/VQI_GenomeBrowser/';
// var resourceFolder = '';
var resourceFolder = '';
var serviceURL = resourceFolder + 'dynamic_loading.php';
var deleteImage = resourceFolder + 'DeleteTrack.png';
var exportImage = resourceFolder + 'ExportTrack.png';
@@ -38,8 +37,12 @@ function VQI_GenomeBrowser(id) {

var trackInfo = [];

var serviceURL = serviceURL;

this.setResourceFolder = function (rF) {
resourceFolder = rF;
serviceURL = resourceFolder + 'dynamic_loading.php';
deleteImage = resourceFolder + 'DeleteTrack.png';
exportImage = resourceFolder + 'ExportTrack.png';
};
// var trackDiv;
// var trackNavContainer;
// var recentTrackContainer;
@@ -111,7 +114,6 @@ function VQI_GenomeBrowser(id) {

};


this.makeNavMenu = function () {
var menu = "<ul class='nav nav-tabs' style='font-size: 16'>" +
//"<li class='active'><a data-toggle='tab' href='#home'>Home</a></li>"+
@@ -811,15 +813,15 @@ function VQI_GenomeBrowser(id) {
}

var inTrackInfo = false;
for(var i in trackInfo)
for (var i in trackInfo)
{
if (trackInfo[i].name == name)
if (trackInfo[i].name == name)
{
inTrackInfo = true;
break;
inTrackInfo = true;
break;
}
}
if(!inTrackInfo)
if (!inTrackInfo)
{
trackInfo.push({name: name, type: type, args: args});
updateRecentTrackDropDown();
@@ -2,7 +2,6 @@
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="../VQI_Publisher.js"></script>
<script src="VQI_GenomeBrowser.js"></script>
<script src="FileSaver.min.js"></script>
<script src="jquery.qtip.min.js"></script>

0 comments on commit c8a8193

Please sign in to comment.
You can’t perform that action at this time.