Skip to content

Commit 77292b8

Browse files
committed
cosmetics
1 parent 6bd26c8 commit 77292b8

File tree

4 files changed

+568
-568
lines changed

4 files changed

+568
-568
lines changed

BeliefExplorer.html

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>Belief Explorer</title>
77
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
8-
<link rel="stylesheet" href="https://gitcdn.link/repo/Chalarangelo/mini.css/master/dist/mini-default.min.css">
8+
<link rel="stylesheet" href="mini-default.min.css">
99
<!-- Global site tag (gtag.js) - Google Analytics -->
1010
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-3425939-8"></script>
1111
<script>
@@ -99,43 +99,43 @@
9999
url: "./SEMapDatabase.php",
100100
dataType: "json",
101101
success: function(data)
102-
{
103-
if (data.res!="OK")
104-
{
105-
alert(data.res);
106-
}
107-
else
108-
{
109-
Database = {}
110-
111-
var nodes = data["nodes"];
112-
for(var node in nodes)
113-
{
114-
var n = nodes[node];
115-
Database[n["id"]]={question:n["q"], answers:{}};
116-
}
117-
118-
var edges = data["edges"];
119-
for(var edge in edges)
120-
{
121-
var e = edges[edge];
122-
Database[e["s"]].answers[e["l"]] = e["t"];
123-
}
124-
125-
Validate(startingPoint);
126-
Process(startingPoint, "");
127-
}
128-
}
129-
});
130-
})
102+
{
103+
if (data.res!="OK")
104+
{
105+
alert(data.res);
106+
}
107+
else
108+
{
109+
Database = {}
110+
111+
var nodes = data["nodes"];
112+
for(var node in nodes)
113+
{
114+
var n = nodes[node];
115+
Database[n["id"]]={question:n["q"], answers:{}};
116+
}
117+
118+
var edges = data["edges"];
119+
for(var edge in edges)
120+
{
121+
var e = edges[edge];
122+
Database[e["s"]].answers[e["l"]] = e["t"];
123+
}
124+
125+
Validate(startingPoint);
126+
Process(startingPoint, "");
127+
}
128+
}
129+
});
130+
})
131131

132132
</script>
133133
</head>
134134
<body>
135135
<header class="sticky">
136136
<a href="#" class="logo">Belief Explorer</a>
137137
</header>
138-
<div class="container">
138+
<div class="container">
139139
<div class="row">
140140
<div class="col-sm"></div>
141141
<div class="col-lg-4 col-md-6 col-sm-12" style="height: calc(100vh - 10.25rem); display: flex; align-items: center; flex: 0 1 auto;">

0 commit comments

Comments
 (0)