added client folders and cleaned index.html

This commit is contained in:
Rohit
2019-05-31 18:29:32 -04:00
parent 7ebacae080
commit cd7f6c8648
18 changed files with 191 additions and 192 deletions

View File

@@ -0,0 +1,12 @@
function Topic (name) {
this.name = name;
this.bag = true;
this.type = "";
}
Array.prototype.indexOfTopic = function(name) {
for (var i = 0; i < this.length; i++)
if (this[i].name == name)
return i;
return -1;
}