Skip to content
This repository has been archived by the owner on Dec 19, 2022. It is now read-only.

Some code fixes based on alerts from lgtm.com #21

Merged
merged 4 commits into from
Nov 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions js/blackboard2.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,6 @@ function createBasicFunctions() {
amt += s.charCodeAt(i);
}
return amt % 100;

return 0;
},

play: function(filename) {
Expand Down
2 changes: 1 addition & 1 deletion js/bots.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

function loadBot(name, map) {
console.info("Loading bot '%s'", name);
req = $.ajax("bots/" + name + ".js", {
var req = $.ajax("bots/" + name + ".js", {
async: false,
dataType: "script",
});
Expand Down
6 changes: 1 addition & 5 deletions js/io.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,7 @@ var io = {
saveData: function(map, key, val) {
localStorage.setItem("data-" + map.settings.id + "-" + key, val);
},

loadMap: function(id) {

},



textToSpeech: function(text, onFinish, onFinishEach) {

Expand Down
3 changes: 0 additions & 3 deletions js/viz.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,8 @@ var viz = {
'color': 'rgb(255, 255, 255)',
'background-color': '#666',
'text-valign': 'center',
'shape': "roundrectangle",
'label': 'data(label)',

'shape': "ellipse",

'width': 20,
'height': 20
}
Expand Down